diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/remote/session/RemoteSessionConfiguration.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/remote/session/RemoteSessionConfiguration.java index 426e2db308..4c97ce9213 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/remote/session/RemoteSessionConfiguration.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/config/remote/session/RemoteSessionConfiguration.java @@ -33,8 +33,7 @@ public class RemoteSessionConfiguration { private int maxTotalHTTPConnections; private int maxMessagesPerSecond; private int sessionIdleTimeOut; - private int maxSessionDuration; - private int sessionBufferSize; + private int maxMessageBufferSize; public void setRemoteSessionServerUrl(String remoteSessionServerUrl) { this.remoteSessionServerUrl = remoteSessionServerUrl; @@ -113,30 +112,17 @@ public class RemoteSessionConfiguration { this.sessionIdleTimeOut = sessionIdleTimeOut; } - /** - * Maximum session duration in minutes - * @return - */ - @XmlElement(name = "MaximumSessionDuration", required = true, defaultValue = "15") - public int getMaxSessionDuration() { - return maxSessionDuration; - } - - public void setMaxSessionDuration(int maxSessionDuration) { - this.maxSessionDuration = maxSessionDuration; - } - /** * Maximum session buffer size in kilo bytes * @return */ - @XmlElement(name = "SessionBufferSize", required = true, defaultValue = "640") - public int getSessionBufferSize() { - return sessionBufferSize; + @XmlElement(name = "MaximumMessageBufferSize", required = true, defaultValue = "640") + public int getMaxMessageBufferSize() { + return maxMessageBufferSize; } - public void setSessionBufferSize(int sessionBufferSize) { - this.sessionBufferSize = sessionBufferSize; + public void setMaxMessageBufferSize(int MaxMessageBufferSize) { + this.maxMessageBufferSize = MaxMessageBufferSize; } } diff --git a/components/identity-extensions/org.wso2.carbon.identity.jwt.client.extension/src/test/resources/carbon-home/repository/conf/cdm-config.xml b/components/identity-extensions/org.wso2.carbon.identity.jwt.client.extension/src/test/resources/carbon-home/repository/conf/cdm-config.xml index 18f2ad56ba..bc48130dd5 100644 --- a/components/identity-extensions/org.wso2.carbon.identity.jwt.client.extension/src/test/resources/carbon-home/repository/conf/cdm-config.xml +++ b/components/identity-extensions/org.wso2.carbon.identity.jwt.client.extension/src/test/resources/carbon-home/repository/conf/cdm-config.xml @@ -103,8 +103,7 @@ 100 20 15 - 60 - 640 + 640 BYOD,COPE diff --git a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/cdm-config.xml b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/cdm-config.xml index 518edb4d8d..a609215f28 100644 --- a/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/cdm-config.xml +++ b/features/device-mgt/org.wso2.carbon.device.mgt.basics.feature/src/main/resources/conf/cdm-config.xml @@ -46,6 +46,11 @@ admin admin + + https://localhost:9443 + admin + admin + org.wso2.carbon.policy.mgt true @@ -91,6 +96,16 @@ false false + + + true + wss://localhost:9443 + 2 + 100 + 20 + 15 + 640 + BYOD,COPE