revert-dabc3590
mharindu 8 years ago
commit 965402a7ac

@ -61,5 +61,4 @@ dependencies {
compile 'org.altbeacon:android-beacon-library:2.8.1' compile 'org.altbeacon:android-beacon-library:2.8.1'
compile 'uk.co.alt236:easycursor-android:1.0.0' compile 'uk.co.alt236:easycursor-android:1.0.0'
compile 'uk.co.alt236:bluetooth-le-library-android:1.0.0' compile 'uk.co.alt236:bluetooth-le-library-android:1.0.0'
} }

@ -39,7 +39,6 @@ public class AndroidDevice implements Serializable {
required = true required = true
) )
@Size(min = 2, max = 45) @Size(min = 2, max = 45)
@Pattern(regexp = "^[A-Za-z0-9]*$")
private String name; private String name;
@ApiModelProperty( @ApiModelProperty(
name = "description", name = "description",

@ -81,21 +81,21 @@
<Permission> <Permission>
<name>Enroll</name> <name>Enroll</name>
<path>/device-mgt/user/device/android/enroll</path> <path>/device-mgt/user/device/android/enroll</path>
<url>/device/*/applications</url> <url>/devices/*/applications</url>
<method>PUT</method> <method>PUT</method>
</Permission> </Permission>
<Permission> <Permission>
<name>Enroll</name> <name>Enroll</name>
<path>/device-mgt/user/device/android/enroll</path> <path>/device-mgt/user/device/android/enroll</path>
<url>/device/*/pending-operations</url> <url>/devices/*/pending-operations</url>
<method>PUT</method> <method>PUT</method>
</Permission> </Permission>
<Permission> <Permission>
<name>Enroll</name> <name>Enroll</name>
<path>/device-mgt/user/device/android/enroll</path> <path>/device-mgt/user/device/android/enroll</path>
<url>/device/*/status</url> <url>/devices/*/status</url>
<method>GET</method> <method>GET</method>
</Permission> </Permission>

@ -0,0 +1,42 @@
{
"appName": "Enterprise Mobility Manager",
"cachingEnabled": true,
"debuggingEnabled": false,
"permissionRoot": "/",
"loginPage": "cdmf.page.sign-in",
"adminServicesUrl": "https://${server.ip}:${server.https_port}/admin/services/",
"authModule": {
"enabled": true,
"login": {
"onSuccess": {
"script": "/app/modules/login.js",
"page": "cdmf.page.dashboard"
},
"onFail": {
"script": "/app/modules/login.js",
"page": "cdmf.page.sign-in"
}
},
"logout": {
"onSuccess": {
"page": "cdmf.page.sign-in"
},
"onFail": {
"page": "cdmf.page.dashboard"
}
},
"sso": {
"enabled": false,
"issuer" : "emm",
"appName" : "emm",
"identityProviderUrl" : "https://localhost:9443/samlsso",
"acs": "https://localhost:9443/devicemgt/uuf/sso/acs",
"identityAlias": "wso2carbon",
"responseSigningEnabled" : "true",
"useTenantKey": false
}
},
"errorPages": {
"default": "uuf.page.error"
}
}
Loading…
Cancel
Save