public class ConfluenceCrowdSSOAuthenticator
extends com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator
ConfluenceAuthenticator
to enable SSO.Modifier | Constructor and Description |
---|---|
|
ConfluenceCrowdSSOAuthenticator() |
|
ConfluenceCrowdSSOAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator) |
protected |
ConfluenceCrowdSSOAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator,
com.google.common.base.Supplier<UserAccessor> userAccessorRef,
com.google.common.base.Supplier<com.atlassian.event.api.EventPublisher> eventPublisherRef,
com.atlassian.fugue.Maybe<com.atlassian.seraph.service.rememberme.RememberMeService> rememberMeServiceRef) |
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
|
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, init, isAuthorised, removePrincipalFromSessionContext
public ConfluenceCrowdSSOAuthenticator()
public ConfluenceCrowdSSOAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator)
protected ConfluenceCrowdSSOAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator, com.google.common.base.Supplier<UserAccessor> userAccessorRef, com.google.common.base.Supplier<com.atlassian.event.api.EventPublisher> eventPublisherRef, com.atlassian.fugue.Maybe<com.atlassian.seraph.service.rememberme.RememberMeService> rememberMeServiceRef)
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 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 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.v25.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
Copyright © 2003–2016 Atlassian. All rights reserved.