diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 93cab373..952ab49f 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -572,16 +572,6 @@ 644 - - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/user-api-publisher-config.xml - - ${pom.artifactId}-${pom.version}/repository/conf/etc - true - 644 - - diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/api/user-api.jag b/modules/distribution/src/repository/jaggeryapps/iotserver/api/user-api.jag index 62eeb49b..7a16d385 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/api/user-api.jag +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/api/user-api.jag @@ -26,6 +26,7 @@ var constants = require("/modules/constants.js"); var dcProps = require('/config/dc-props.js').config(); var userModule = require("/modules/user.js").userModule; var deviceModule = require("/modules/device.js").deviceModule; +var utility = require("/modules/utility.js").utility; var deviceManagementService = utility.getDeviceManagementService(); var result; diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/modules/utility.js b/modules/distribution/src/repository/jaggeryapps/iotserver/modules/utility.js index 176aef7c..917e86a0 100644 --- a/modules/distribution/src/repository/jaggeryapps/iotserver/modules/utility.js +++ b/modules/distribution/src/repository/jaggeryapps/iotserver/modules/utility.js @@ -32,7 +32,7 @@ utility = 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 () {