/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | LoginStateCallback.java | 41 private LoginState loginState = null; field in class:LoginStateCallback 55 return loginState; 64 loginState = state;
|
H A D | StatelessSessionActivator.java | 50 public boolean activateSession(final LoginState loginState, final SessionService sessionService, argument 54 if (loginState.getForceFlag()) { 61 if (loginState.isSessionUpgrade()) { 63 SessionID sid = new SessionID(loginState.getHttpServletRequest()); 67 loginState.setOldStatelessSession(oldSession); 73 //create our new session - the loginState needs this session as it's the one we'll be passing back to the user 74 final InternalSession session = createSession(sessionService, loginState); 75 loginState.setSession(session); 77 return updateSessions(session, loginState, session, authSession, sessionService, subject, loginContext); 81 protected InternalSession createSession(SessionService sessionService, LoginState loginState) { argument 86 activateSession(InternalSession session, LoginState loginState) argument [all...] |
H A D | DSAMECallbackHandler.java | 54 LoginState loginState; field in class:DSAMECallbackHandler 71 this.loginState = am.getLoginState(); 76 loginState.setPageTimeOut(pageTimeOut); 78 loginState.setLastCallbackSent(lastCallbackSent); 107 ((LoginStateCallback) callbacks[0]).setLoginState(loginState); 111 loginState.setSubmittedCallback(null,am) ; 112 loginState.setReceivedCallback(callbacks,am) ; 122 loginState.setTimedOut(true); 123 loginState.setReceivedCallback(null,am) ; 131 if (loginState [all...] |
H A D | AMLoginContext.java | 117 private LoginState loginState; field in class:AMLoginContext 234 * Ensure loginState created and loginParamsMap provided 236 if (loginState == null || loginParamsMap == null) { 237 debug.error("Error: loginState or loginParams is null"); 239 if (loginState != null) { 240 loginState.setErrorCode(AMAuthErrorCode.AUTH_ERROR); 250 java.util.Locale loginLocale = com.sun.identity.shared.locale.Locale.getLocale(loginState.getLocale()); 255 debug.message("LoginState : " + loginState); 267 loginState.setReceivedCallback_NoThread(redirectCallback); 269 loginState [all...] |
H A D | DefaultSessionActivator.java | 61 public boolean activateSession(final LoginState loginState, final SessionService sessionService, argument 65 //create our new session - the loginState needs this session as it's the one we'll be passing back to the user 66 final InternalSession session = createSession(sessionService, loginState); 67 loginState.setSession(session); 69 return updateSessions(session, loginState, session, authSession, sessionService, subject, loginContext); 76 protected boolean updateSessions(InternalSession newSession, LoginState loginState, argument 86 loginState.setSessionProperties(newSession); 99 loginState.setSubject(addSSOTokenPrincipal(subject, sessionToActivate.getID())); 102 if (loginState.isModulesInSessionEnabled() && loginContext != null) { 107 return activateSession(sessionToActivate, loginState); 122 createSession(SessionService sessionService, LoginState loginState) argument 126 activateSession(InternalSession session, LoginState loginState) argument [all...] |
H A D | AuthUtils.java | 157 * 4. if this is found then updates the loginState request 205 LoginState loginState = null; 265 loginState = new LoginState(); 269 loginState.setOldSession(oldSession); 272 loginState.setOldSession(oldSession); 273 loginState.setSessionUpgrade(isSessionUpgrade); 275 loginState.setOldSession(oldSession); 278 loginState.createAuthContext(request,response,sid,dataHash); 279 loginState.setForceAuth(Boolean.parseBoolean(request.getParameter(FORCE_AUTH))); 280 authContext.setLoginState(loginState); 667 destroySession(LoginState loginState) argument [all...] |
H A D | AMAccountLockout.java | 72 private final LoginState loginState; field in class:AMAccountLockout 80 * @param loginState Login State object. 82 public AMAccountLockout(LoginState loginState) { argument 83 this.loginState = loginState; 84 loginFailureLockoutTime = loginState.getLoginFailureLockoutTime(); 85 loginFailureLockoutCount = loginState.getLoginFailureLockoutCount(); 86 loginLockoutNotification = loginState.getLoginLockoutNotification(); 87 loginLockoutUserWarning = loginState.getLoginLockoutUserWarning(); 88 loginLockoutAttrName = loginState [all...] |
H A D | NoSessionActivator.java | 34 * @param loginState the login state used for authentication. Unused. 40 public boolean activateSession(final LoginState loginState, final SessionService sessionService, argument
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/service/ |
H A D | LoginStateCallback.java | 41 private LoginState loginState = null; field in class:LoginStateCallback 55 return loginState; 64 loginState = state;
|
H A D | StatelessSessionActivator.java | 50 public boolean activateSession(final LoginState loginState, final SessionService sessionService, argument 54 if (loginState.getForceFlag()) { 61 if (loginState.isSessionUpgrade()) { 63 SessionID sid = new SessionID(loginState.getHttpServletRequest()); 67 loginState.setOldStatelessSession(oldSession); 73 //create our new session - the loginState needs this session as it's the one we'll be passing back to the user 74 final InternalSession session = createSession(sessionService, loginState); 75 loginState.setSession(session); 77 return updateSessions(session, loginState, session, authSession, sessionService, subject); 81 protected InternalSession createSession(SessionService sessionService, LoginState loginState) { argument 86 activateSession(InternalSession session, LoginState loginState) argument [all...] |
H A D | DSAMECallbackHandler.java | 58 LoginState loginState; field in class:DSAMECallbackHandler 76 this.loginState = am.getLoginState(); 81 loginState.setPageTimeOut(pageTimeOut); 83 loginState.setLastCallbackSent(lastCallbackSent); 112 ((LoginStateCallback) callbacks[0]).setLoginState(loginState); 116 loginState.setSubmittedCallback(null,am) ; 117 loginState.setReceivedCallback(callbacks,am) ; 127 loginState.setTimedOut(true); 128 loginState.setReceivedCallback(null,am) ; 136 if (loginState [all...] |
H A D | DefaultSessionActivator.java | 61 public boolean activateSession(final LoginState loginState, final SessionService sessionService, argument 65 //create our new session - the loginState needs this session as it's the one we'll be passing back to the user 66 final InternalSession session = createSession(sessionService, loginState); 67 loginState.setSession(session); 69 return updateSessions(session, loginState, session, authSession, sessionService, subject); 76 protected boolean updateSessions(InternalSession newSession, LoginState loginState, argument 86 loginState.setSessionProperties(newSession); 99 loginState.setSubject(addSSOTokenPrincipal(subject, sessionToActivate.getID())); 102 return activateSession(sessionToActivate, loginState); 117 protected InternalSession createSession(SessionService sessionService, LoginState loginState) { argument 121 activateSession(InternalSession session, LoginState loginState) argument [all...] |
H A D | AuthUtils.java | 150 * 4. if this is found then updates the loginState request 197 LoginState loginState = null; 251 loginState = new LoginState(); 255 loginState.setOldSession(oldSession); 258 loginState.setOldSession(oldSession); 259 loginState.setSessionUpgrade(isSessionUpgrade); 261 loginState.setOldSession(oldSession); 263 authContext = loginState.createAuthContext(request, response, sessionId, decodedRequestData); 264 loginState.setForceAuth(Boolean.parseBoolean(request.getParameter(FORCE_AUTH))); 265 authContext.setLoginState(loginState); 376 rebuildAuthContext(final HttpServletRequest request, final HttpServletResponse response, final Map<String, String> decodedRequestData, final SessionID sessionId, final LoginState loginState) argument 597 destroySession(LoginState loginState) argument [all...] |
H A D | AMAccountLockout.java | 74 private final LoginState loginState; field in class:AMAccountLockout 82 * @param loginState Login State object. 84 public AMAccountLockout(LoginState loginState) { argument 85 this.loginState = loginState; 86 loginFailureLockoutTime = loginState.getLoginFailureLockoutTime(); 87 loginFailureLockoutCount = loginState.getLoginFailureLockoutCount(); 88 loginLockoutNotification = loginState.getLoginLockoutNotification(); 89 loginLockoutUserWarning = loginState.getLoginLockoutUserWarning(); 90 loginLockoutAttrName = loginState [all...] |
H A D | SessionActivator.java | 33 * @param loginState the login state used for authentication. May be updated by the activator. 40 boolean activateSession(LoginState loginState, SessionService sessionService, InternalSession authSession, argument
|
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/authentication/service/activators/ |
H A D | ForceAuthSessionActivator.java | 29 * (setSessionProperties in loginState then replaces that with the old session), 43 public boolean activateSession(final LoginState loginState, final SessionService sessionService, argument 47 if (!loginState.getForceFlag()) { 51 final InternalSession session = createSession(sessionService, loginState); 53 return updateSessions(session, loginState, loginState.getOldSession(), authSession, sessionService, subject,
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/authentication/service/activators/ |
H A D | ForceAuthSessionActivator.java | 29 * (setSessionProperties in loginState then replaces that with the old session), 43 public boolean activateSession(final LoginState loginState, final SessionService sessionService, argument 46 if (!loginState.getForceFlag()) { 49 final InternalSession session = createSession(sessionService, loginState); 50 return updateSessions(session, loginState, loginState.getOldSession(), authSession, sessionService, subject);
|
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/audit/ |
H A D | AuthenticationProcessEventAuditor.java | 71 * @param loginState The login state object. 73 public void auditLoginSuccess(LoginState loginState) { argument 74 String realm = getRealmFromState(loginState); 79 if (loginState != null) { 80 moduleName = loginState.getAuthModuleNames(); 81 userDN = loginState.getUserDN(); 89 .entry(getAuditEntryDetail(moduleName, loginState)) 90 .trackingIds(getTrackingIds(loginState)) 101 * @param loginState The login state object. 103 public void auditLoginFailure(LoginState loginState) { argument 115 auditLoginFailure(LoginState loginState, AuthenticationFailureReason failureReason) argument 183 getAuditEntryDetail(String moduleName, LoginState loginState) argument 210 getFailedPrincipal(LoginState loginState) argument 237 findFailureReason(LoginState loginState) argument [all...] |
H A D | AuthenticationModuleEventAuditor.java | 63 * @param loginState The login state object. 67 public void auditModuleSuccess(LoginState loginState, Principal principal, argument 70 String realm = getRealmFromState(loginState); 75 auditModuleEvent(loginState, realm, principalName, authId, SUCCESSFUL, auditEntryDetail); 82 * @param loginState The login state object. 86 public void auditModuleFailure(LoginState loginState, Principal principal, argument 89 String realm = getRealmFromState(loginState); 93 Map sharedState = loginState == null ? emptyMap() : loginState.getSharedState(); 101 auditModuleEvent(loginState, real 105 auditModuleEvent(LoginState loginState, String realm, String principal, String userId, Status result, AuthenticationAuditEntry auditEntryDetail) argument [all...] |
H A D | AbstractAuthenticationEventAuditor.java | 78 * @param loginState The login state of the event. 81 protected Set<String> getTrackingIds(LoginState loginState) { argument 82 InternalSession session = loginState == null ? null : loginState.getSession(); 90 * @param loginState The login state of the event. 93 protected String getRealmFromState(LoginState loginState) { argument 94 String orgDN = loginState == null ? null : loginState.getOrgDN();
|
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/audit/ |
H A D | AbstractAuthenticationEventAuditor.java | 88 * @param loginState The login state of the event. 91 protected Set<String> getTrackingIds(LoginState loginState) { argument 92 InternalSession session = loginState == null ? null : loginState.getSession(); 100 * @param loginState The login state of the event. 103 protected String getRealmFromState(LoginState loginState) { argument 104 String orgDN = loginState == null ? null : loginState.getOrgDN(); 126 * @param loginState The login state of the event. 129 protected String getFailedPrincipal(LoginState loginState) { argument [all...] |
H A D | AuthenticationProcessEventAuditor.java | 71 * @param loginState The login state object. 73 public void auditLoginSuccess(LoginState loginState) { argument 74 String realm = getRealmFromState(loginState); 79 if (loginState != null) { 80 moduleName = loginState.getAuthModuleNames(); 81 userDN = loginState.getUserDN(); 89 .entry(getAuditEntryDetail(moduleName, loginState)) 90 .trackingIds(getTrackingIds(loginState)) 101 * @param loginState The login state object. 103 public void auditLoginFailure(LoginState loginState) { argument 115 auditLoginFailure(LoginState loginState, AuthenticationFailureReason failureReason) argument 183 getAuditEntryDetail(String moduleName, LoginState loginState) argument 210 findFailureReason(LoginState loginState) argument [all...] |
H A D | AuthenticationModuleEventAuditor.java | 63 * @param loginState The login state object. 67 public void auditModuleSuccess(LoginState loginState, Principal principal, argument 70 String realm = getRealmFromState(loginState); 75 auditModuleEvent(loginState, realm, principalName, authId, SUCCESSFUL, auditEntryDetail); 82 * @param loginState The login state object. 86 public void auditModuleFailure(LoginState loginState, Principal principal, argument 89 String realm = getRealmFromState(loginState); 92 String principalName = principal == null ? getFailedPrincipal(loginState) : principal.getName(); 95 auditModuleEvent(loginState, realm, principalName, authId, FAILED, auditEntryDetail); 99 private void auditModuleEvent(LoginState loginState, Strin argument [all...] |
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/spi/ |
H A D | AMLoginModule.java | 220 private LoginState loginState =null; field in class:AMLoginModule 911 loginState = getLoginState(); 913 fileName = loginState.getFileName(moduleClass+ ".xml"); 914 loginState.setSharedState(sharedState); 944 String compositeAdvice = loginState.getCompositeAdvice(); 1272 if (loginState == null) { 1273 loginState = getLoginState(); 1274 if (loginState == null) { 1278 return loginState.getAuthLevel(); 1293 if (loginState [all...] |
/forgerock/openam/openam-core/src/main/java/com/sun/identity/authentication/spi/ |
H A D | AMLoginModule.java | 226 private LoginState loginState =null; field in class:AMLoginModule 923 loginState = getLoginState(); 925 fileName = loginState.getFileName(moduleClass+ ".xml"); 926 loginState.setSharedState(sharedState); 956 String compositeAdvice = loginState.getCompositeAdvice(); 1278 if (loginState == null) { 1279 loginState = getLoginState(); 1280 if (loginState == null) { 1284 return loginState.getAuthLevel(); 1299 if (loginState [all...] |