From 68bbc810ac009326f78ada9981a6e346219b211d Mon Sep 17 00:00:00 2001 From: geethkokila Date: Tue, 10 Nov 2015 18:37:39 +0530 Subject: [PATCH 1/2] Fixing the identity version --- pom.xml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 8f140d877b..029ddf51e5 100644 --- a/pom.xml +++ b/pom.xml @@ -140,6 +140,10 @@ org.wso2.carbon org.wso2.carbon.registry.api + + xerces.wso2 + xercesImpl + @@ -438,6 +442,10 @@ org.apache.bsf bsf-all + + xerces + xercesImpl + @@ -504,6 +512,10 @@ commons-pool.wso2 commons-pool + + xerces.wso2 + xercesImpl + @@ -522,7 +534,7 @@ - 4.4.1 + 4.4.2 [4.4.0, 4.5.0) 1.5.4 @@ -556,7 +568,7 @@ 4.4.8 - 4.4.0 + 4.6.0 5.0.2 From 5a797d4de1aba92ac5d9cba5a159046a35b8e465 Mon Sep 17 00:00:00 2001 From: harshanl Date: Fri, 13 Nov 2015 21:59:47 +0530 Subject: [PATCH 2/2] Updated DeviceManager service to latest DMService --- .../device/mgt/mobile/impl/android/AndroidDeviceManager.java | 5 +++++ .../device/mgt/mobile/impl/windows/WindowsDeviceManager.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManager.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManager.java index 008a9e93e1..11442785c4 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManager.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/android/AndroidDeviceManager.java @@ -296,6 +296,11 @@ public class AndroidDeviceManager implements DeviceManager { licenseManager.addLicense(AndroidDeviceManagementService.DEVICE_TYPE_ANDROID, license); } + @Override + public boolean requireDeviceAuthorization() { + return true; + } + @Override public boolean updateDeviceInfo(DeviceIdentifier deviceIdentifier, Device device) throws DeviceManagementException { diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManager.java b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManager.java index 106b1def71..fabfe1ac20 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManager.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.mobile.impl/src/main/java/org/wso2/carbon/device/mgt/mobile/impl/windows/WindowsDeviceManager.java @@ -263,6 +263,11 @@ public class WindowsDeviceManager implements DeviceManager { licenseManager.addLicense(WindowsDeviceManagementService.DEVICE_TYPE_WINDOWS, license); } + @Override + public boolean requireDeviceAuthorization() { + return false; + } + @Override public boolean updateDeviceInfo(DeviceIdentifier deviceIdentifier, Device device) throws DeviceManagementException {