From 14478aa7a53f4d45be4b33f07afc355b865bfa97 Mon Sep 17 00:00:00 2001 From: warunalakshitha Date: Sun, 1 Oct 2017 10:48:11 +0530 Subject: [PATCH] add remote session config service --- .../mgt/jaxrs/service/impl/RemoteSessionServiceImpl.java | 2 +- .../src/main/webapp/WEB-INF/cxf-servlet.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/RemoteSessionServiceImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/RemoteSessionServiceImpl.java index b25318a4b0..a972df9826 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/RemoteSessionServiceImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/java/org/wso2/carbon/device/mgt/jaxrs/service/impl/RemoteSessionServiceImpl.java @@ -54,7 +54,7 @@ public class RemoteSessionServiceImpl implements RemoteSessionService { if (deviceManagementConfig != null) { RemoteSessionConfiguration remoteSessionConfiguration = deviceManagementConfig.getRemoteSessionConfiguration(); if (remoteSessionConfiguration != null) { - boolean isEnabled = remoteSessionConfiguration.getIsEnabled(); + boolean isEnabled = remoteSessionConfiguration.isEnabled(); sessionInfo.setEnabled(isEnabled); if (isEnabled) { sessionInfo.setServerUrl(remoteSessionConfiguration.getRemoteSessionServerUrl()); diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/webapp/WEB-INF/cxf-servlet.xml b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/webapp/WEB-INF/cxf-servlet.xml index 482544fabc..e1e2c46e8c 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/webapp/WEB-INF/cxf-servlet.xml +++ b/components/device-mgt/org.wso2.carbon.device.mgt.api/src/main/webapp/WEB-INF/cxf-servlet.xml @@ -81,7 +81,7 @@ - + @@ -101,4 +101,4 @@ - + \ No newline at end of file