Searched defs:mockSSOToken (Results 1 - 10 of 10) sorted by relevance

/forgerock/openam-v13/openam-rest/src/test/java/org/forgerock/openam/rest/authz/
H A DSpecialAndAdminUserOnlyAuthzModuleTest.java49 private SSOToken mockSSOToken; field in class:SpecialAndAdminUserOnlyAuthzModuleTest
62 given(mockSSOTokenContext.getCallerSSOToken()).willReturn(mockSSOToken);
63 given(mockSSOToken.getPrincipal()).willReturn(mockPrincipal);
72 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(true);
82 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(false);
83 given(mockSSOToken.getProperty(Constants.UNIVERSAL_IDENTIFIER)).willReturn("test");
95 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(false);
96 given(mockSSOToken.getProperty(Constants.UNIVERSAL_IDENTIFIER)).willReturn("test");
H A DAgentOnlyAuthzModuleTest.java46 private SSOToken mockSSOToken; field in class:AgentOnlyAuthzModuleTest
74 given(mockSSOTokenContext.getCallerSSOToken()).willReturn(mockSSOToken);
75 given(mockSSOToken.getPrincipal()).willReturn(mockPrincipal);
82 given(mockAgentIdentity.isAgent(mockSSOToken)).willReturn(true);
97 given(mockAgentIdentity.isAgent(mockSSOToken)).willReturn(false);
H A DSTSPublishServiceAuthzModuleTest.java74 private SSOToken mockSSOToken; field in class:STSPublishServiceAuthzModuleTest
85 given(mockSSOTokenContext.getCallerSSOToken()).willReturn(mockSSOToken);
86 given(mockSSOToken.getProperty(Constants.UNIVERSAL_IDENTIFIER)).willReturn("test");
87 given(mockSSOToken.getPrincipal()).willReturn(mockPrincipal);
95 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(false);
122 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(true);
137 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(true);
156 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(true);
175 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(false);
H A DSTSTokenGenerationServiceAuthzModuleTest.java54 private SSOToken mockSSOToken; field in class:STSTokenGenerationServiceAuthzModuleTest
89 given(mockSSOTokenContext.getCallerSSOToken()).willReturn(mockSSOToken);
90 given(mockSSOToken.getPrincipal()).willReturn(mockPrincipal);
98 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(true);
99 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(false);
110 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(false);
111 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(true);
122 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(false);
123 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(false);
124 given(mockSSOToken
[all...]
/forgerock/openam/openam-rest/src/test/java/org/forgerock/openam/rest/authz/
H A DSpecialAndAdminUserOnlyAuthzModuleTest.java49 private SSOToken mockSSOToken; field in class:SpecialAndAdminUserOnlyAuthzModuleTest
62 given(mockSSOTokenContext.getCallerSSOToken()).willReturn(mockSSOToken);
63 given(mockSSOToken.getPrincipal()).willReturn(mockPrincipal);
72 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(true);
82 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(false);
83 given(mockSSOToken.getProperty(Constants.UNIVERSAL_IDENTIFIER)).willReturn("test");
95 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(false);
96 given(mockSSOToken.getProperty(Constants.UNIVERSAL_IDENTIFIER)).willReturn("test");
H A DAgentOnlyAuthzModuleTest.java46 private SSOToken mockSSOToken; field in class:AgentOnlyAuthzModuleTest
74 given(mockSSOTokenContext.getCallerSSOToken()).willReturn(mockSSOToken);
75 given(mockSSOToken.getPrincipal()).willReturn(mockPrincipal);
82 given(mockAgentIdentity.isAgent(mockSSOToken)).willReturn(true);
97 given(mockAgentIdentity.isAgent(mockSSOToken)).willReturn(false);
H A DSTSPublishServiceAuthzModuleTest.java74 private SSOToken mockSSOToken; field in class:STSPublishServiceAuthzModuleTest
85 given(mockSSOTokenContext.getCallerSSOToken()).willReturn(mockSSOToken);
86 given(mockSSOToken.getProperty(Constants.UNIVERSAL_IDENTIFIER)).willReturn("test");
87 given(mockSSOToken.getPrincipal()).willReturn(mockPrincipal);
95 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(false);
122 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(true);
137 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(true);
156 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(true);
175 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(false);
H A DSTSTokenGenerationServiceAuthzModuleTest.java54 private SSOToken mockSSOToken; field in class:STSTokenGenerationServiceAuthzModuleTest
89 given(mockSSOTokenContext.getCallerSSOToken()).willReturn(mockSSOToken);
90 given(mockSSOToken.getPrincipal()).willReturn(mockPrincipal);
98 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(true);
99 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(false);
110 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(false);
111 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(true);
122 given(mockAgentIdentity.isSoapSTSAgent(mockSSOToken)).willReturn(false);
123 given(mockSpecialUserIdentity.isSpecialUser(mockSSOToken)).willReturn(false);
124 given(mockSSOToken
[all...]
/forgerock/openam-v13/openam-oauth2/src/test/java/org/forgerock/openam/oauth2/
H A DOpenAMResourceOwnerSessionValidatorTest.java109 mockSSOToken(NO_SESSION_TOKEN);
123 mockSSOToken(NO_SESSION_TOKEN);
142 mockSSOToken(ACTIVE_SESSION_TOKEN);
162 mockSSOToken(ACTIVE_SESSION_TOKEN);
182 mockSSOToken(NO_SESSION_TOKEN);
199 mockSSOToken(NO_SESSION_TOKEN);
214 mockSSOToken(NO_SESSION_TOKEN);
237 mockSSOToken(NO_SESSION_TOKEN);
262 mockSSOToken(NO_SESSION_TOKEN);
281 mockSSOToken(NO_SESSION_TOKE
373 private void mockSSOToken(SSOToken ssoToken) throws SSOException { method in class:OpenAMResourceOwnerSessionValidatorTest
[all...]
/forgerock/openam/openam-oauth2/src/test/java/org/forgerock/oauth2/core/
H A DResourceOwnerSessionValidatorTest.java108 mockSSOToken(NO_SESSION_TOKEN);
122 mockSSOToken(NO_SESSION_TOKEN);
141 mockSSOToken(ACTIVE_SESSION_TOKEN);
162 mockSSOToken(ACTIVE_SESSION_TOKEN);
183 mockSSOToken(NO_SESSION_TOKEN);
200 mockSSOToken(NO_SESSION_TOKEN);
215 mockSSOToken(NO_SESSION_TOKEN);
238 mockSSOToken(NO_SESSION_TOKEN);
263 mockSSOToken(NO_SESSION_TOKEN);
282 mockSSOToken(NO_SESSION_TOKE
374 private void mockSSOToken(SSOToken ssoToken) throws SSOException { method in class:ResourceOwnerSessionValidatorTest
[all...]

Completed in 102 milliseconds