From 5ce413012e9507117b5ddc2db306e667dbaa6487 Mon Sep 17 00:00:00 2001 From: Rasika Perera Date: Fri, 20 Jan 2017 17:04:33 +0530 Subject: [PATCH] Adding DEFAULT_DEVICE_USER and DEFAULT_DEVICE_ADMIN --- .../device/mgt/common/DeviceManagementConstants.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceManagementConstants.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceManagementConstants.java index fcf80d13a2..1366a93714 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceManagementConstants.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceManagementConstants.java @@ -90,4 +90,12 @@ public final class DeviceManagementConstants { public static final String DB_TYPE_H2 = "H2"; public static final String DB_TYPE_POSTGRESQL = "PostgreSQL"; } + + public static final class Users { + private Users() { + throw new AssertionError(); + } + public static final String DEFAULT_DEVICE_USER = "Internal/devicemgt-user"; + public static final String DEFAULT_DEVICE_ADMIN = "Internal/devicemgt-admin"; + } }