Searched refs:isSuperUser (Results 1 - 25 of 39) sorted by relevance

12

/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/
H A DStatelessAdminRestriction.java82 return delegate.isSuperUser(userDN) || delegate.isSpecialUser(userDN);
104 public boolean isSuperUser(String userDN) {
105 return getAuthD().isSuperUser(userDN);
119 boolean isSuperUser(String userDN); method in interface:StatelessAdminRestriction.SuperUserDelegate
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/sso/providers/stateless/
H A DStatelessAdminRestriction.java82 return delegate.isSuperUser(userDN) || delegate.isSpecialUser(userDN);
104 public boolean isSuperUser(String userDN) {
105 return getAuthD().isSuperUser(userDN);
119 boolean isSuperUser(String userDN); method in interface:StatelessAdminRestriction.SuperUserDelegate
/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/rest/authz/
H A DAdminOnlyAuthzModule.java59 if (userId != null && isSuperUser(userId)) {
72 protected boolean isSuperUser(String userId) { method in class:AdminOnlyAuthzModule
73 return sessionService.get().isSuperUser(userId);
H A DSpecialOrAdminOrAgentAuthzModule.java69 } else if (sessionService.get().isSuperUser(AdminOnlyAuthzModule.getUserId(token))) {
H A DResourceOwnerOrSuperUserAuthzModule.java68 if (isSuperUser(loggedInUserId)) {
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/rest/authz/
H A DAdminOnlyAuthzModule.java59 if (userId != null && isSuperUser(userId)) {
72 protected boolean isSuperUser(String userId) { method in class:AdminOnlyAuthzModule
73 return sessionService.get().isSuperUser(userId);
H A DSpecialOrAdminOrAgentAuthzModule.java69 } else if (sessionService.get().isSuperUser(AdminOnlyAuthzModule.getUserId(token))) {
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/session/
H A DTokenOwnerAuthzModuleTest.java78 given(mockService.isSuperUser(eq("universal_id"))).willReturn(false);
96 given(mockService.isSuperUser(eq("universal_id"))).willReturn(false);
114 given(mockService.isSuperUser(eq("universal_id"))).willReturn(false);
115 given(mockService.isSuperUser(eq("john"))).willReturn(false);
133 given(mockService.isSuperUser(eq("universal_id"))).willReturn(false);
134 given(mockService.isSuperUser(eq("john"))).willReturn(false);
153 given(mockService.isSuperUser(eq("universal_id"))).willReturn(false);
170 given(mockService.isSuperUser(eq("universal_id"))).willReturn(false);
/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/authz/
H A DSTSPublishServiceAuthzModuleTest.java94 given(mockService.isSuperUser("test")).willReturn(true);
121 given(mockService.isSuperUser("test")).willReturn(false);
136 given(mockService.isSuperUser("test")).willReturn(false);
155 given(mockService.isSuperUser("test")).willReturn(false);
174 given(mockService.isSuperUser("test")).willReturn(true);
H A DAdminOnlyAuthzModuleTest.java56 given(mockService.isSuperUser("test")).willReturn(true);
75 given(mockService.isSuperUser("test")).willReturn(false);
H A DSpecialOrAdminOrAgentAuthzModuleTest.java71 given(mockService.isSuperUser("test")).willReturn(true);
94 given(mockService.isSuperUser("test")).willReturn(false);
117 given(mockService.isSuperUser("test")).willReturn(false);
140 given(mockService.isSuperUser("test")).willReturn(false);
H A DSTSTokenGenerationServiceAuthzModuleTest.java125 given(mockSessionService.isSuperUser("test")).willReturn(true);
163 given(mockSessionService.isSuperUser("test")).willReturn(true);
201 given(mockSessionService.isSuperUser("test")).willReturn(true);
239 given(mockSessionService.isSuperUser("test")).willReturn(true);
253 given(mockSessionService.isSuperUser("test")).willReturn(false);
H A DSpecialAndAdminUserOnlyAuthzModuleTest.java84 given(mockSessionService.isSuperUser("test")).willReturn(true);
97 given(mockSessionService.isSuperUser("test")).willReturn(false);
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/rest/authz/
H A DSTSPublishServiceAuthzModuleTest.java94 given(mockService.isSuperUser("test")).willReturn(true);
121 given(mockService.isSuperUser("test")).willReturn(false);
136 given(mockService.isSuperUser("test")).willReturn(false);
155 given(mockService.isSuperUser("test")).willReturn(false);
174 given(mockService.isSuperUser("test")).willReturn(true);
H A DAdminOnlyAuthzModuleTest.java56 given(mockService.isSuperUser("test")).willReturn(true);
75 given(mockService.isSuperUser("test")).willReturn(false);
H A DSpecialOrAdminOrAgentAuthzModuleTest.java71 given(mockService.isSuperUser("test")).willReturn(true);
94 given(mockService.isSuperUser("test")).willReturn(false);
117 given(mockService.isSuperUser("test")).willReturn(false);
140 given(mockService.isSuperUser("test")).willReturn(false);
H A DSTSTokenGenerationServiceAuthzModuleTest.java125 given(mockSessionService.isSuperUser("test")).willReturn(true);
163 given(mockSessionService.isSuperUser("test")).willReturn(true);
201 given(mockSessionService.isSuperUser("test")).willReturn(true);
239 given(mockSessionService.isSuperUser("test")).willReturn(true);
253 given(mockSessionService.isSuperUser("test")).willReturn(false);
H A DSpecialAndAdminUserOnlyAuthzModuleTest.java84 given(mockSessionService.isSuperUser("test")).willReturn(true);
97 given(mockSessionService.isSuperUser("test")).willReturn(false);
/forgerock/openam/openam-core/src/main/java/com/iplanet/dpro/session/service/
H A DSessionService.java269 public boolean isSuperUser(String uuid) { method in class:SessionService
270 boolean isSuperUser = false;
281 isSuperUser = adminUserId.equals(user);
284 sessionDebug.error("SessionService.isSuperUser: Cannot get the admin token for this operation.", ssoe);
287 sessionDebug.error("SessionService.isSuperUser: Cannot get the user identity '{}'.", uuid, idme);
291 sessionDebug.message("SessionService.isSuperUser: " + isSuperUser);
294 return isSuperUser;
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/cts/
H A DCoreTokenResourceAuthzModuleTest.java72 given(mockService.isSuperUser("test")).willReturn(true);
92 given(mockService.isSuperUser("test")).willReturn(false);
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/cts/
H A DCoreTokenResourceAuthzModuleTest.java79 given(mockService.isSuperUser("test")).willReturn(true);
101 given(mockService.isSuperUser("test")).willReturn(false);
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/
H A DSelfServiceUserUiRolePredicate.java35 return !sessionService.get().isSuperUser(id);
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/session/
H A DTokenOwnerAuthzModuleTest.java77 given(mockService.isSuperUser(eq("universal_id"))).willReturn(false);
95 given(mockService.isSuperUser(eq("universal_id"))).willReturn(false);
96 given(mockService.isSuperUser(eq("john"))).willReturn(false);
115 given(mockService.isSuperUser(eq("universal_id"))).willReturn(false);
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/
H A DSelfServiceUserUiRolePredicate.java35 return !sessionService.get().isSuperUser(id);
/forgerock/openam-v13/openam-uma/src/main/java/org/forgerock/openam/uma/
H A DUmaUserUiRolePredicate.java56 if (sessionService.get().isSuperUser(id)) {

Completed in 2705 milliseconds

12