Class AdobeMockServiceHandler
java.lang.Object
edu.internet2.middleware.grouper.j2ee.MockServiceHandler
edu.internet2.middleware.grouper.app.adobe.AdobeMockServiceHandler
-
Field Summary
Modifier and TypeFieldDescription -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addUserToGroups
(com.fasterxml.jackson.databind.JsonNode jsonNode, String email) void
associateGroupWithUser
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) void
checkAuthorization
(MockServiceRequest mockServiceRequest) void
createGroup
(com.fasterxml.jackson.databind.JsonNode jsonNode, String groupName) void
createUser
(com.fasterxml.jackson.databind.JsonNode jsonNode, String email, String type) void
crudOnUser
(com.fasterxml.jackson.databind.JsonNode jsonNode, MockServiceResponse mockServiceResponse) void
crudOnUserGroup
(com.fasterxml.jackson.databind.JsonNode jsonNode, MockServiceResponse mockServiceResponse) void
deleteGroup
(String groupName) void
deleteGroups
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) void
deleteUsers
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) void
disassociateGroupFromUser
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) headers to not log all ofparams to not log all ofstatic void
static void
void
getGroup
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) void
getGroups
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) void
getGroups
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse, String pageNum) void
getUser
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) void
getUsers
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse, String pageNum) void
handleAllActions
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) void
handleRequest
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) static void
void
postAuth
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) void
postGroups
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) void
removeUser
(String email) void
removeUserFromGroups
(com.fasterxml.jackson.databind.JsonNode jsonNode, String email) void
updateGroup
(com.fasterxml.jackson.databind.JsonNode jsonNode, String oldGroupName) void
updateUser
(com.fasterxml.jackson.databind.JsonNode jsonNode, String email) void
updateUser
(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse)
-
Field Details
-
doNotLogParameters
-
doNotLogHeaders
-
-
Constructor Details
-
AdobeMockServiceHandler
public AdobeMockServiceHandler()
-
-
Method Details
-
doNotLogParameters
params to not log all of- Overrides:
doNotLogParameters
in classMockServiceHandler
-
doNotLogHeaders
headers to not log all of- Overrides:
doNotLogHeaders
in classMockServiceHandler
-
ensureAdobeMockTables
public static void ensureAdobeMockTables() -
dropAdobeMockTables
public static void dropAdobeMockTables() -
handleRequest
public void handleRequest(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) - Specified by:
handleRequest
in classMockServiceHandler
-
main
-
checkAuthorization
-
getUsers
public void getUsers(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse, String pageNum) -
getGroups
public void getGroups(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse, String pageNum) -
getUser
-
disassociateGroupFromUser
public void disassociateGroupFromUser(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) -
associateGroupWithUser
public void associateGroupWithUser(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) -
updateUser
public void updateUser(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) -
handleAllActions
public void handleAllActions(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) -
crudOnUserGroup
public void crudOnUserGroup(com.fasterxml.jackson.databind.JsonNode jsonNode, MockServiceResponse mockServiceResponse) -
updateGroup
-
deleteGroup
-
createGroup
-
crudOnUser
public void crudOnUser(com.fasterxml.jackson.databind.JsonNode jsonNode, MockServiceResponse mockServiceResponse) -
removeUser
-
removeUserFromGroups
-
addUserToGroups
-
updateUser
-
createUser
-
postGroups
public void postGroups(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) -
getGroups
public void getGroups(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) -
getGroup
public void getGroup(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) -
postAuth
public void postAuth(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) -
deleteGroups
public void deleteGroups(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse) -
deleteUsers
public void deleteUsers(MockServiceRequest mockServiceRequest, MockServiceResponse mockServiceResponse)
-