Searched defs:authContext (Results 1 - 25 of 30) sorted by relevance

12

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/internal/
H A DAuthLoginThread.java49 private AuthContext authContext; field in class:AuthLoginThread
57 authContext = ctx;
67 authContext.loginContext.login();
68 authContext.setLoginStatus(AuthContext.AUTH_SUCCESS);
71 authContext.setLoginStatus(AuthContext.AUTH_FAILED);
72 authContext.loginException = le;
89 authContext.submittedInformation = null;
93 authContext.informationRequired = callback;
100 while (authContext.submittedInformation == null) {
106 if (authContext
[all...]
H A DAuthSSOToken.java68 protected AuthContext authContext; field in class:AuthSSOToken
90 authContext = authc;
122 return (authContext.getPrincipal());
180 if ((authContext != null)
181 && (authContext.getLoginStatus() == AuthContext.AUTH_SUCCESS))
205 if ((authContext != null)
206 && (authContext.getLoginStatus() == AuthContext.AUTH_SUCCESS))
212 if ((authContext != null)
213 && (authContext.getLoginStatus() == AuthContext.AUTH_SUCCESS))
223 authContext
[all...]
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOpenAMResourceOwnerAuthenticator.java176 private ResourceOwner createResourceOwner(AuthContext authContext) throws Exception { argument
177 SSOToken token = authContext.getSSOToken();
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/internal/
H A DAuthLoginThread.java49 private AuthContext authContext; field in class:AuthLoginThread
57 authContext = ctx;
67 authContext.loginContext.login();
68 authContext.setLoginStatus(AuthContext.AUTH_SUCCESS);
71 authContext.setLoginStatus(AuthContext.AUTH_FAILED);
72 authContext.loginException = le;
89 authContext.submittedInformation = null;
93 authContext.informationRequired = callback;
100 while (authContext.submittedInformation == null) {
106 if (authContext
[all...]
H A DAuthSSOToken.java67 protected AuthContext authContext; field in class:AuthSSOToken
89 authContext = authc;
121 return (authContext.getPrincipal());
179 if ((authContext != null)
180 && (authContext.getLoginStatus() == AuthContext.AUTH_SUCCESS))
204 if ((authContext != null)
205 && (authContext.getLoginStatus() == AuthContext.AUTH_SUCCESS))
211 if ((authContext != null)
212 && (authContext.getLoginStatus() == AuthContext.AUTH_SUCCESS))
222 authContext
[all...]
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/plugins/
H A DSPAuthnContextMapper.java80 * @param authContext the <code>AuthContext</code> object.
88 AuthnContext authContext,String realm,
87 getAuthLevel(RequestedAuthnContext reqCtx, AuthnContext authContext,String realm, String hostEntityID, String idpEntityID) argument
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/wrappers/
H A DCoreServicesWrapper.java81 * @param authContext The AuthContextLocalWrapper.
84 public int getCompositeAdviceType(AuthenticationContext authContext) { argument
85 return AuthUtils.getCompositeAdviceType(authContext.getAuthContext());
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/wrappers/
H A DCoreServicesWrapper.java81 * @param authContext The AuthContextLocalWrapper.
84 public int getCompositeAdviceType(AuthenticationContext authContext) { argument
85 return AuthUtils.getCompositeAdviceType(authContext.getAuthContext());
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/saml2/plugins/
H A DSPAuthnContextMapper.java80 * @param authContext the <code>AuthContext</code> object.
88 AuthnContext authContext,String realm,
87 getAuthLevel(RequestedAuthnContext reqCtx, AuthnContext authContext,String realm, String hostEntityID, String idpEntityID) argument
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DAuthIdHelper.java87 * @param authContext The underlying AuthContextLocal object.
91 public String createAuthId(LoginConfiguration loginConfiguration, AuthenticationContext authContext) argument
94 final SecretKey key = getSigningKey(authContext.getOrgDN());
102 jwtValues.put("realm", authContext.getOrgDN());
103 jwtValues.put(SESSION_ID, authContext.getSessionID().toString());
/forgerock/openam-v13/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginProcess.java44 private final AuthenticationContext authContext; field in class:LoginProcess
52 * @param authContext The underlying AuthContextLocal object wrapped as a AuthContextLocalWrapper.
56 AuthenticationContext authContext, CoreServicesWrapper coreServicesWrapper) {
59 this.authContext = authContext;
74 if ((isLevelOrCompositeIndexType && authContext.getRequirements() == null) || !isLevelOrCompositeIndexType) {
75 authContext.hasMoreRequirements();
78 if (AuthContext.Status.IN_PROGRESS.equals(authContext.getStatus())) {
91 return authContext.getRequirements();
105 for (Callback callback : authContext
55 LoginProcess(LoginAuthenticator loginAuthenticator, LoginConfiguration loginConfiguration, AuthenticationContext authContext, CoreServicesWrapper coreServicesWrapper) argument
[all...]
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/
H A DAuthIdHelper.java87 * @param authContext The underlying AuthContextLocal object.
91 public String createAuthId(LoginConfiguration loginConfiguration, AuthenticationContext authContext) argument
94 final SecretKey key = getSigningKey(authContext.getOrgDN());
102 jwtValues.put("realm", authContext.getOrgDN());
103 jwtValues.put(SESSION_ID, authContext.getSessionID().toString());
/forgerock/openam/openam-core-rest/src/main/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginProcess.java44 private final AuthenticationContext authContext; field in class:LoginProcess
52 * @param authContext The underlying AuthContextLocal object wrapped as a AuthContextLocalWrapper.
56 AuthenticationContext authContext, CoreServicesWrapper coreServicesWrapper) {
59 this.authContext = authContext;
76 if ((isMenuBasedAuthentication && authContext.getRequirements() == null) || !isMenuBasedAuthentication) {
77 authContext.hasMoreRequirements();
80 if (AuthContext.Status.IN_PROGRESS.equals(authContext.getStatus())) {
93 return authContext.getRequirements();
107 for (Callback callback : authContext
55 LoginProcess(LoginAuthenticator loginAuthenticator, LoginConfiguration loginConfiguration, AuthenticationContext authContext, CoreServicesWrapper coreServicesWrapper) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/core/
H A DCoreServicesWrapper.java210 * @param authContext The AuthContextLocal object.
215 public void setLbCookie(AuthContextLocal authContext, HttpServletRequest request, HttpServletResponse response) argument
217 AuthUtils.setlbCookie(authContext, request, response);
/forgerock/openam-v13/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginProcessTest.java43 private AuthenticationContext authContext; field in class:LoginProcessTest
51 authContext = mock(AuthenticationContext.class);
54 loginProcess = new LoginProcess(loginAuthenticator, loginConfiguration, authContext, coreServicesWrapper);
67 given(authContext.getStatus()).willReturn(AuthContext.Status.IN_PROGRESS);
73 verify(authContext).hasMoreRequirements();
82 given(authContext.getRequirements()).willReturn(null);
83 given(authContext.getStatus()).willReturn(AuthContext.Status.IN_PROGRESS);
89 verify(authContext).hasMoreRequirements();
98 given(authContext.getRequirements()).willReturn(null);
99 given(authContext
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/core/
H A DCoreServicesWrapper.java211 * @param authContext The AuthContextLocal object.
216 public void setLbCookie(AuthContextLocal authContext, HttpServletRequest request, HttpServletResponse response) argument
218 AuthUtils.setlbCookie(authContext, request, response);
/forgerock/openam/openam-core-rest/src/test/java/org/forgerock/openam/core/rest/authn/core/
H A DLoginProcessTest.java43 private AuthenticationContext authContext; field in class:LoginProcessTest
51 authContext = mock(AuthenticationContext.class);
54 loginProcess = new LoginProcess(loginAuthenticator, loginConfiguration, authContext, coreServicesWrapper);
67 given(authContext.getStatus()).willReturn(AuthContext.Status.IN_PROGRESS);
73 verify(authContext).hasMoreRequirements();
82 given(authContext.getRequirements()).willReturn(null);
83 given(authContext.getStatus()).willReturn(AuthContext.Status.IN_PROGRESS);
89 verify(authContext).hasMoreRequirements();
98 given(authContext.getRequirements()).willReturn(null);
99 given(authContext
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/server/
H A DAuthXMLHandler.java275 AuthContextLocal authContext = authXMLRequest.getAuthContext();
276 LoginState loginState = AuthUtils.getLoginState(authContext);
288 authResponse.setAuthContext(authContext);
291 debug.message("authContext is : " + authContext);
317 indexTypeLoc = AuthUtils.getIndexType(authContext);
318 indexNameLoc = AuthUtils.getIndexName(authContext);
373 if ((AuthUtils.getIndexType(authContext) == AuthContext.IndexType.LEVEL) ||
374 (AuthUtils.getIndexType(authContext) ==
417 authResponse, loginState, authContext);
848 processRequirements( String xml, AuthContextLocal authContext, AuthXMLResponse authResponse, String params, HttpServletRequest servletRequest) argument
995 setServletRequest(HttpServletRequest servletRequest, AuthContextLocal authContext) argument
[all...]
H A DAuthXMLResponse.java72 AuthContextLocal authContext = null; field in class:AuthXMLResponse
309 successURL = AuthUtils.getLoginSuccessURL(authContext);
325 subject = authContext.getSubject();
342 failureURL = AuthUtils.getLoginFailedURL(authContext);
395 AuthUtils.destroySession(authContext);
431 AuthUtils.destroySession(authContext);
435 if (authContext.getLoginState().getForceFlag()){
436 authD.destroySession(authContext.getLoginState()
438 authContext.getLoginState().setSession(
440 authContext
486 setAuthContext(AuthContextLocal authContext) argument
[all...]
H A DAuthXMLRequest.java119 AuthContextLocal authContext = null; field in class:AuthXMLRequest
479 * @param authContext Authentication context for this request.
481 public void setAuthContext(AuthContextLocal authContext) { argument
482 this.authContext = authContext;
491 return authContext;
/forgerock/openam-v13/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/spi/handlers/amhandler/
H A DContextHolder.java108 private AuthContext authContext; field in class:ContextHolder
277 return this.authContext;
283 * @param authContext a <code>AuthContext</code> object
285 public void setAuthContext(AuthContext authContext) { argument
286 this.authContext = authContext;
365 SSOToken token = this.authContext.getSSOToken();
/forgerock/openam/openam-radius/openam-radius-server/src/main/java/org/forgerock/openam/radius/server/spi/handlers/amhandler/
H A DContextHolder.java109 private AuthContext authContext; field in class:ContextHolder
278 return this.authContext;
284 * @param authContext a <code>AuthContext</code> object
286 public void setAuthContext(AuthContext authContext) { argument
287 this.authContext = authContext;
366 SSOToken token = this.authContext.getSSOToken();
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/server/
H A DAuthXMLHandler.java275 AuthContextLocal authContext = authXMLRequest.getAuthContext();
276 LoginState loginState = AuthUtils.getLoginState(authContext);
288 authResponse.setAuthContext(authContext);
291 debug.message("authContext is : " + authContext);
317 indexTypeLoc = AuthUtils.getIndexType(authContext);
318 indexNameLoc = AuthUtils.getIndexName(authContext);
373 if ((AuthUtils.getIndexType(authContext) == AuthContext.IndexType.LEVEL) ||
374 (AuthUtils.getIndexType(authContext) ==
417 authResponse, loginState, authContext);
848 processRequirements( String xml, AuthContextLocal authContext, AuthXMLResponse authResponse, String params, HttpServletRequest servletRequest) argument
995 setServletRequest(HttpServletRequest servletRequest, AuthContextLocal authContext) argument
[all...]
H A DAuthXMLResponse.java72 AuthContextLocal authContext = null; field in class:AuthXMLResponse
309 successURL = AuthUtils.getLoginSuccessURL(authContext);
325 subject = authContext.getSubject();
342 failureURL = AuthUtils.getLoginFailedURL(authContext);
395 AuthUtils.destroySession(authContext);
431 AuthUtils.destroySession(authContext);
435 if (authContext.getLoginState().getForceFlag()){
436 authD.destroySession(authContext.getLoginState()
438 authContext.getLoginState().setSession(
440 authContext
486 setAuthContext(AuthContextLocal authContext) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/
H A DAMLoginContext.java118 private AuthContextLocal authContext; field in class:AMLoginContext
197 * @param authContext <code>AuthContextLocal</code> object
199 public AMLoginContext(AuthContextLocal authContext) { argument
205 this.authContext = authContext;
282 if (authContext.getOrgDN() != null && !authContext.getOrgDN().isEmpty()) {
283 orgDN = authContext.getOrgDN();
624 debug.message("authContext is : " + authContext);
[all...]

Completed in 105 milliseconds

12