|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.seraph.auth.AbstractAuthenticator com.atlassian.seraph.auth.DefaultAuthenticator com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator com.atlassian.jira.security.login.SSOSeraphAuthenticator
public class SSOSeraphAuthenticator
Seraph Authenticator for providing single signon with Crowd.
Field Summary |
---|
Fields inherited from class com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator |
---|
logger |
Fields inherited from class com.atlassian.seraph.auth.DefaultAuthenticator |
---|
LOGGED_IN_KEY, LOGGED_OUT_KEY |
Fields inherited from interface com.atlassian.seraph.auth.Authenticator |
---|
DEFAULT_AUTHENTICATOR |
Constructor Summary | |
---|---|
SSOSeraphAuthenticator()
|
|
SSOSeraphAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator)
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator |
---|
authenticate, fetchUserInCache, getUser, isAuthenticated, login, logout, rememberMeLoginToCrowd |
Methods inherited from class com.atlassian.seraph.auth.DefaultAuthenticator |
---|
authoriseUserAndEstablishSession, getAuthType, getElevatedSecurityGuard, getLogoutInterceptors, getRememberMeService, getRoleMapper, getUserFromBasicAuthentication, getUserFromCookie, getUserFromSession, init, isAuthorised, isPrincipalAlreadyInSessionContext, isUserInRole, putPrincipalInSessionContext, removePrincipalFromSessionContext |
Methods inherited from class com.atlassian.seraph.auth.AbstractAuthenticator |
---|
destroy, getConfig, getRemoteUser, getUser, login |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSOSeraphAuthenticator()
public SSOSeraphAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator)
Method Detail |
---|
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
protected Principal refreshPrincipalObtainedFromSession(javax.servlet.http.HttpServletRequest httpServletRequest, Principal principal)
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 play
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |