|
|
|
@ -121,10 +121,10 @@ if (!user || accessToken == null) {
|
|
|
|
|
response.sendRedirect("/devicemgt/platform-configuration?enterprise-success=true");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} else if (uriMatcher.match("/{context}/api/enterprise/asdsad/unenroll")) {
|
|
|
|
|
} else if (uriMatcher.match("/{context}/api/enterprise/unenroll")) {
|
|
|
|
|
session.put("externalEndpoint", restAPIRequestDetails["endpoint"]);
|
|
|
|
|
session.put("externalToken", restAPIRequestDetails["externalToken"]);
|
|
|
|
|
callBackend(restAPIRequestDetails["endpoint"], session.get("externalToken"), "POST", restAPIRequestDetails);
|
|
|
|
|
callBackend(restAPIRequestDetails["endpoint"], session.get("externalToken"), "GET", restAPIRequestDetails);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|