fix changes for usermanager osgi service retrieve

application-manager-new
Rasika Perera 9 years ago
parent 1d45022ec6
commit 47a06249bf

@ -26,6 +26,7 @@ var constants = require("/modules/constants.js");
var dcProps = require('/config/dc-props.js').config(); var dcProps = require('/config/dc-props.js').config();
var userModule = require("/modules/user.js").userModule; var userModule = require("/modules/user.js").userModule;
var deviceModule = require("/modules/device.js").deviceModule; var deviceModule = require("/modules/device.js").deviceModule;
var utility = require("/modules/utility.js").utility;
var deviceManagementService = utility.getDeviceManagementService(); var deviceManagementService = utility.getDeviceManagementService();
var result; var result;

@ -32,7 +32,7 @@ utility = function () {
}; };
publicMethods.getUserManagementService = function () { publicMethods.getUserManagementService = function () {
return getOsgiService('org.wso2.carbon.device.mgt.user.core.UserManager'); return getOsgiService('org.wso2.carbon.user.api.UserRealmService');
}; };
publicMethods.getPolicyManagementService = function () { publicMethods.getPolicyManagementService = function () {

Loading…
Cancel
Save