From fdc4ad8e18e5a9d8a60f1876696e8796f3244efa Mon Sep 17 00:00:00 2001 From: manoj Date: Fri, 13 Nov 2015 21:29:47 +0530 Subject: [PATCH] Set user level autherization is support by plugin or not --- .../carbon/device/mgt/core/DeviceManagementPluginRepository.java | 1 + 1 file changed, 1 insertion(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/DeviceManagementPluginRepository.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/DeviceManagementPluginRepository.java index ed06671f0ff..7159b947e4d 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/DeviceManagementPluginRepository.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/DeviceManagementPluginRepository.java @@ -49,6 +49,7 @@ public class DeviceManagementPluginRepository implements DeviceManagerStartupLis /* Initializing Device Management Service Provider */ provider.init(); DeviceManagerUtil.registerDeviceType(deviceType); + DeviceManagementDataHolder.getInstance().setIsUserLevelAutherizationAllow(provider.getType(),true); } } catch (DeviceManagementException e) { throw new DeviceManagementException("Error occurred while adding device management provider '" +