public class ConfluenceCrowdSSOAuthenticator
extends com.atlassian.crowd.integration.seraph.CrowdAuthenticator
ConfluenceAuthenticator
to enable SSO.Constructor and Description |
---|
ConfluenceCrowdSSOAuthenticator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
authoriseUserAndEstablishSession(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Principal principal) |
protected com.atlassian.event.EventManager |
getEventManager()
Deprecated.
since 5.9 - no replacement
|
protected com.atlassian.seraph.service.rememberme.RememberMeService |
getRememberMeService() |
Principal |
getUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Principal |
getUser(String username) |
protected UserAccessor |
getUserAccessor()
Deprecated.
since 5.9 - no replacement
|
void |
init(Map<String,String> params,
com.atlassian.seraph.config.SecurityConfig config) |
boolean |
isCrowdSetup() |
protected boolean |
isPrincipalAlreadyInSessionContext(javax.servlet.http.HttpServletRequest httpServletRequest,
Principal principal) |
boolean |
login(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
String username,
String password,
boolean cookie) |
protected void |
logoutUser(javax.servlet.http.HttpServletRequest request) |
protected void |
putPrincipalInSessionContext(javax.servlet.http.HttpServletRequest httpServletRequest,
Principal principal) |
protected Principal |
refreshPrincipalObtainedFromSession(javax.servlet.http.HttpServletRequest httpServletRequest,
Principal principal) |
authenticate, checkAuthenticated, checkRememberMeLoginToCrowd, fetchUserInCache, isAuthenticated, logout, rememberMeLoginToCrowd
getAuthType, getElevatedSecurityGuard, getLogoutInterceptors, getRoleMapper, getUserFromBasicAuthentication, getUserFromCookie, getUserFromSession, isAuthorised, removePrincipalFromSessionContext
public void init(Map<String,String> params, com.atlassian.seraph.config.SecurityConfig config)
init
in interface com.atlassian.seraph.Initable
init
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.CrowdAuthenticator
protected void logoutUser(javax.servlet.http.HttpServletRequest request)
logoutUser
in class com.atlassian.crowd.integration.seraph.CrowdAuthenticator
protected Principal getUser(String username)
getUser
in class com.atlassian.seraph.auth.DefaultAuthenticator
public boolean login(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String username, String password, boolean cookie) throws com.atlassian.seraph.auth.AuthenticatorException
login
in interface com.atlassian.seraph.auth.Authenticator
login
in class com.atlassian.crowd.integration.seraph.CrowdAuthenticator
com.atlassian.seraph.auth.AuthenticatorException
@Deprecated protected com.atlassian.event.EventManager getEventManager()
@Deprecated protected UserAccessor getUserAccessor()
protected com.atlassian.seraph.service.rememberme.RememberMeService getRememberMeService()
getRememberMeService
in class com.atlassian.seraph.auth.DefaultAuthenticator
protected boolean authoriseUserAndEstablishSession(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse, Principal principal)
authoriseUserAndEstablishSession
in class com.atlassian.seraph.auth.DefaultAuthenticator
protected boolean isPrincipalAlreadyInSessionContext(javax.servlet.http.HttpServletRequest httpServletRequest, Principal principal)
isPrincipalAlreadyInSessionContext
in class com.atlassian.seraph.auth.DefaultAuthenticator
protected void putPrincipalInSessionContext(javax.servlet.http.HttpServletRequest httpServletRequest, Principal principal)
putPrincipalInSessionContext
in class com.atlassian.seraph.auth.DefaultAuthenticator
protected Principal refreshPrincipalObtainedFromSession(javax.servlet.http.HttpServletRequest httpServletRequest, Principal principal)
refreshPrincipalObtainedFromSession
in class com.atlassian.seraph.auth.DefaultAuthenticator
public boolean isCrowdSetup()
Copyright © 2003–2020 Atlassian. All rights reserved.