|
|
@ -210,6 +210,12 @@ import java.util.List;
|
|
|
|
key = "perm:android:configure-wifi",
|
|
|
|
key = "perm:android:configure-wifi",
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/wifi"}
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/wifi"}
|
|
|
|
),
|
|
|
|
),
|
|
|
|
|
|
|
|
@Scope(
|
|
|
|
|
|
|
|
name = "Configure Global Proxy",
|
|
|
|
|
|
|
|
description = "Configure Global Proxy on Android Device",
|
|
|
|
|
|
|
|
key = "perm:android:configure-global-proxy",
|
|
|
|
|
|
|
|
permissions = {"/device-mgt/devices/owning-device/operations/android/global-proxy"}
|
|
|
|
|
|
|
|
),
|
|
|
|
@Scope(
|
|
|
|
@Scope(
|
|
|
|
name = "Encrypt Storage",
|
|
|
|
name = "Encrypt Storage",
|
|
|
|
description = "Encrypting storage on Android Device",
|
|
|
|
description = "Encrypting storage on Android Device",
|
|
|
@ -1852,7 +1858,7 @@ public interface DeviceManagementAdminService {
|
|
|
|
WebClipBeanWrapper webClipBeanWrapper);
|
|
|
|
WebClipBeanWrapper webClipBeanWrapper);
|
|
|
|
|
|
|
|
|
|
|
|
@POST
|
|
|
|
@POST
|
|
|
|
@Path("/set-global-proxy")
|
|
|
|
@Path("/configure-global-proxy")
|
|
|
|
@ApiOperation(
|
|
|
|
@ApiOperation(
|
|
|
|
consumes = MediaType.APPLICATION_JSON,
|
|
|
|
consumes = MediaType.APPLICATION_JSON,
|
|
|
|
httpMethod = "POST",
|
|
|
|
httpMethod = "POST",
|
|
|
@ -1863,14 +1869,15 @@ public interface DeviceManagementAdminService {
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
tags = "Android Device Management Administrative Service",
|
|
|
|
extensions = {
|
|
|
|
extensions = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@Extension(properties = {
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE, value = "perm:android:set-global-proxy")
|
|
|
|
@ExtensionProperty(name = AndroidConstants.SCOPE,
|
|
|
|
|
|
|
|
value = "perm:android:configure-global-proxy")
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponses(value = {
|
|
|
|
@ApiResponse(
|
|
|
|
@ApiResponse(
|
|
|
|
code = 201,
|
|
|
|
code = 201,
|
|
|
|
message = "Created. \n Successfully scheduled the set global proxy operation.",
|
|
|
|
message = "Created. \n Successfully scheduled the global proxy operation.",
|
|
|
|
response = Activity.class,
|
|
|
|
response = Activity.class,
|
|
|
|
responseHeaders = {
|
|
|
|
responseHeaders = {
|
|
|
|
@ResponseHeader(
|
|
|
|
@ResponseHeader(
|
|
|
|