public class SSOSeraphAuthenticator
extends com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator
Constructor and Description |
---|
SSOSeraphAuthenticator() |
SSOSeraphAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator) |
Modifier and Type | Method and Description |
---|---|
Principal |
getUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Principal |
getUser(String username) |
protected void |
logoutUser(javax.servlet.http.HttpServletRequest request) |
protected Principal |
refreshPrincipalObtainedFromSession(javax.servlet.http.HttpServletRequest httpServletRequest,
Principal principal)
This is called to refresh the Principal object that has been retreived from the HTTP session.
|
authenticate, checkAuthenticated, checkRememberMeLoginToCrowd, fetchUserInCache, isAuthenticated, login, logout, rememberMeLoginToCrowd
authoriseUserAndEstablishSession, getAuthType, getElevatedSecurityGuard, getLogoutInterceptors, getRememberMeService, getRoleMapper, getUserFromBasicAuthentication, getUserFromCookie, getUserFromSession, init, isAuthorised, isPrincipalAlreadyInSessionContext, putPrincipalInSessionContext, removePrincipalFromSessionContext
public SSOSeraphAuthenticator()
public SSOSeraphAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator)
protected void logoutUser(javax.servlet.http.HttpServletRequest request)
logoutUser
in class com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator
protected Principal getUser(String username)
getUser
in class com.atlassian.seraph.auth.DefaultAuthenticator
public Principal getUser(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
getUser
in interface com.atlassian.seraph.auth.Authenticator
getUser
in class com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator
protected Principal refreshPrincipalObtainedFromSession(javax.servlet.http.HttpServletRequest httpServletRequest, Principal principal)
By default this will called getUser(String)
again to get a fresh user.
refreshPrincipalObtainedFromSession
in class com.atlassian.seraph.auth.DefaultAuthenticator
httpServletRequest
- the HTTP request in playprincipal
- the Principal in playCopyright © 2002-2015 Atlassian. All Rights Reserved.