use of edu.uiuc.ncsa.myproxy.oa4mp.server.admin.things.types.TypePermission in project OA4MP by ncsa.
the class PermissionServerTest method removeClient.
public void removeClient(CMTestStoreProvider tp2) throws Exception {
CC cc = setupClients(tp2);
RemoveClientRequest req = RequestFactory.createRequest(cc.adminClient, new TypePermission(), new ActionRemove(), cc.client, null);
PermissionServer permissionServer = new PermissionServer(tp2.getCOSE());
PermissionResponse resp = (PermissionResponse) permissionServer.process(req);
assert tp2.getPermissionStore().get(cc.adminClient.getIdentifier(), cc.client.getIdentifier()).isEmpty();
}
Aggregations