Searched refs:getAuthContext (Results 1 - 25 of 47) sorted by relevance

12

/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/spi/handlers/amhandler/
H A DOpenAMAuthFactory.java37 public AuthContext getAuthContext(String realm) throws AuthLoginException { method in class:OpenAMAuthFactory
H A DContextHolder.java276 public AuthContext getAuthContext() { method in class:ContextHolder
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/wrappers/
H A DCoreServicesWrapper.java44 * {@link AuthUtils#getAuthContext(HttpServletRequest,
56 public AuthContextLocalWrapper getAuthContext(HttpServletRequest request, HttpServletResponse response, method in class:CoreServicesWrapper
58 AuthContextLocal authContextLocal = AuthUtils.getAuthContext(request, response, sessionID, isSessionUpgrade,
75 return AuthUtils.isNewRequest(authContextLocalWrapper.getAuthContext());
85 return AuthUtils.getCompositeAdviceType(authContext.getAuthContext());
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/spi/handlers/amhandler/
H A DOpenAMAuthFactory.java37 public AuthContext getAuthContext(String realm) throws AuthLoginException { method in class:OpenAMAuthFactory
H A DContextHolder.java277 public AuthContext getAuthContext() { method in class:ContextHolder
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/wrappers/
H A DCoreServicesWrapper.java44 * {@link AuthUtils#getAuthContext(HttpServletRequest,
56 public AuthContextLocalWrapper getAuthContext(HttpServletRequest request, HttpServletResponse response, method in class:CoreServicesWrapper
58 AuthContextLocal authContextLocal = AuthUtils.getAuthContext(request, response, sessionID, isSessionUpgrade,
75 return AuthUtils.isNewRequest(authContextLocalWrapper.getAuthContext());
85 return AuthUtils.getCompositeAdviceType(authContext.getAuthContext());
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginAuthenticator.java91 AuthContextLocalWrapper authContext = getAuthContext(loginConfiguration);
139 AuthenticationContext authContext = loginProcess.getAuthContext();
159 coreServicesWrapper.setLbCookie(authContext.getAuthContext(), request, response);
183 private AuthContextLocalWrapper getAuthContext(LoginConfiguration loginConfiguration) throws AuthException, method in class:LoginAuthenticator
197 return coreServicesWrapper.getAuthContext(request, response, sessionID, isSessionUpgrade, isBackPost);
H A DAuthenticationContext.java39 AuthContextLocal getAuthContext(); method in interface:AuthenticationContext
H A DCompletedLoginProcess.java141 public AuthenticationContext getAuthContext() { method in class:CompletedLoginProcess
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginAuthenticator.java87 AuthContextLocalWrapper authContext = getAuthContext(loginConfiguration);
135 AuthenticationContext authContext = loginProcess.getAuthContext();
155 coreServicesWrapper.setLbCookie(authContext.getAuthContext(), request, response);
179 private AuthContextLocalWrapper getAuthContext(LoginConfiguration loginConfiguration) throws AuthException, method in class:LoginAuthenticator
197 return coreServicesWrapper.getAuthContext(request, response, sessionID, isSessionUpgrade, isBackPost);
H A DAuthenticationContext.java39 AuthContextLocal getAuthContext(); method in interface:AuthenticationContext
H A DCompletedLoginProcess.java141 public AuthenticationContext getAuthContext() { method in class:CompletedLoginProcess
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginAuthenticatorTest.java81 given(coreServicesWrapper.getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
90 verify(coreServicesWrapper).getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
113 given(coreServicesWrapper.getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
122 verify(coreServicesWrapper).getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
146 given(coreServicesWrapper.getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
156 verify(coreServicesWrapper).getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
179 given(coreServicesWrapper.getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
189 verify(coreServicesWrapper).getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
219 given(coreServicesWrapper.getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
255 given(coreServicesWrapper.getAuthContext(e
[all...]
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginAuthenticatorTest.java77 given(coreServicesWrapper.getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
86 verify(coreServicesWrapper).getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
109 given(coreServicesWrapper.getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
118 verify(coreServicesWrapper).getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
142 given(coreServicesWrapper.getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
152 verify(coreServicesWrapper).getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
174 given(coreServicesWrapper.getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
184 verify(coreServicesWrapper).getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
214 given(coreServicesWrapper.getAuthContext(eq(request), eq((HttpServletResponse) null), (SessionID) anyObject(),
250 given(coreServicesWrapper.getAuthContext(e
[all...]
/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/spi/handlers/
H A DOpenAMAuthHandler.java307 final AuthContext.Status status = holder.getAuthContext().getStatus();
363 holder.getAuthContext().submitRequirements(callbacks);
404 final boolean moreCallbacksAvailable = holder.getAuthContext().hasMoreRequirements();
413 final Callback[] callbacks = holder.getAuthContext().getRequirements(true);
514 if (holder.getAuthContext() != null && holder.getAuthContext().getStatus() == AuthContext.Status.SUCCESS) {
516 holder.getAuthContext().logout();
685 holder.setAuthContext(amAuthFactory.getAuthContext(realm));
694 holder.getAuthContext().login(AuthContext.IndexType.SERVICE, authChain);
739 holder.getAuthContext()
[all...]
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/spi/handlers/
H A DOpenAMAuthHandler.java317 final AuthContext.Status status = holder.getAuthContext().getStatus();
373 holder.getAuthContext().submitRequirements(callbacks);
414 final boolean moreCallbacksAvailable = holder.getAuthContext().hasMoreRequirements();
423 final Callback[] callbacks = holder.getAuthContext().getRequirements(true);
524 if (holder.getAuthContext() != null && holder.getAuthContext().getStatus() == AuthContext.Status.SUCCESS) {
526 holder.getAuthContext().logout();
695 holder.setAuthContext(amAuthFactory.getAuthContext(realm));
704 holder.getAuthContext().login(AuthContext.IndexType.SERVICE, authChain);
749 holder.getAuthContext()
[all...]
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandlerTest.java105 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
145 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
197 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
251 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
254 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
292 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
381 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
431 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
464 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/server/
H A DAuthXMLRequestParser.java153 AuthUtils.getAuthContext(orgName,authIdentifier,false,
173 authContext = AuthUtils.getAuthContext(
176 authContext = AuthUtils.getAuthContext(
229 AuthUtils.getAuthContext(orgName,authIdentifier,false,
252 AuthContextLocal authContext = AuthUtils.getAuthContext(
282 AuthUtils.getAuthContext(null,authIdentifier,true);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/server/
H A DAuthXMLRequestParser.java153 AuthUtils.getAuthContext(orgName,authIdentifier,false,
173 authContext = AuthUtils.getAuthContext(
176 authContext = AuthUtils.getAuthContext(
229 AuthUtils.getAuthContext(orgName,authIdentifier,false,
252 AuthContextLocal authContext = AuthUtils.getAuthContext(
282 AuthUtils.getAuthContext(null,authIdentifier,true);
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandlerTest.java101 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
142 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
194 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
248 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
251 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
290 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
379 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
430 given(loginProcess.getAuthContext()).willReturn(authContextLocalWrapper);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DAuthUtils.java167 public static AuthContextLocal getAuthContext(final HttpServletRequest request, method in class:AuthUtils
172 return getAuthContext(request, response, sid, isSessionUpgrade, isBackPost, false, false);
187 public static AuthContextLocal getAuthContext(final HttpServletRequest request, method in class:AuthUtils
194 utilDebug.message("In AuthUtils:getAuthContext");
206 utilDebug.message("AuthUtil:getAuthContext:sid is.. .: " + sessionId);
207 utilDebug.message("AuthUtil:getAuthContext:authContext is..: " + authContext);
227 utilDebug.message("AuthUtils:getAuthContext(): %s", e.toString());
229 utilDebug.message("AuthUtils:getAuthContext(): cookieURL : %s", cookieURL);
232 utilDebug.error("AuthUtils:getAuthContext(): " + "Invalid Session Timed out");
280 utilDebug.message("getAuthContext
823 public static AuthContextLocal getAuthContext(String orgName) method in class:AuthUtils
828 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
833 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
838 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
843 public static AuthContextLocal getAuthContext(HttpServletRequest req, method in class:AuthUtils
855 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
874 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
899 public static AuthContextLocal getAuthContext(final String providedOrgName, method in class:AuthUtils
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DAuthUtils.java174 public static AuthContextLocal getAuthContext( method in class:AuthUtils
180 return getAuthContext(request,response,sid,
195 public static AuthContextLocal getAuthContext( method in class:AuthUtils
202 utilDebug.message("In AuthUtils:getAuthContext");
214 utilDebug.message("AuthUtil:getAuthContext:sid is.. .: "
216 utilDebug.message("AuthUtil:getAuthContext:authContext is..: "
234 utilDebug.message("AuthUtils:getAuthContext():"
239 utilDebug.message("AuthUtils:getAuthContext():"
244 utilDebug.error("AuthUtils:getAuthContext(): "
295 utilDebug.message("getAuthContext
893 public static AuthContextLocal getAuthContext(String orgName) method in class:AuthUtils
898 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
903 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
908 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
913 public static AuthContextLocal getAuthContext(HttpServletRequest req, method in class:AuthUtils
925 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
944 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
969 public static AuthContextLocal getAuthContext(String orgName, method in class:AuthUtils
[all...]
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandler.java171 String failureUrl = urlValidator.getRedirectUrl(loginProcess.getAuthContext().getOrgDN(),
250 authId = authIdHelper.createAuthId(loginConfiguration, loginProcess.getAuthContext());
293 AuthenticationContext authContext = loginProcess.getAuthContext();
333 authId = authIdHelper.createAuthId(loginConfiguration, loginProcess.getAuthContext());
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DRestAuthenticationHandler.java177 String failureUrl = urlValidator.getRedirectUrl(loginProcess.getAuthContext().getOrgDN(),
256 authId = authIdHelper.createAuthId(loginConfiguration, loginProcess.getAuthContext());
300 AuthenticationContext authContext = loginProcess.getAuthContext();
340 authId = authIdHelper.createAuthId(loginConfiguration, loginProcess.getAuthContext());
/forgerock/openam-v13/openam-radius/openam-radius-server/src/test/java/org/forgerock/openam/radius/server/spi/handlers/
H A DOpenAMAuthHandlerTest.java92 when(holder.getAuthContext()).thenReturn(authContext);
144 verify(ctxHolderFactory, times(1)).getAuthContext(testRealm);

Completed in 54 milliseconds

12