com.atlassian.confluence.user
Class CrowdConfluenceAuthenticator
java.lang.Object
com.atlassian.seraph.auth.AbstractAuthenticator
com.atlassian.seraph.auth.DefaultAuthenticator
com.atlassian.crowd.integration.seraph.v22.CrowdAuthenticator
com.atlassian.confluence.user.CrowdConfluenceAuthenticator
- All Implemented Interfaces:
- com.atlassian.seraph.auth.Authenticator, com.atlassian.seraph.Initable, Serializable
public class CrowdConfluenceAuthenticator
- extends com.atlassian.crowd.integration.seraph.v22.CrowdAuthenticator
Use this authenticator instead of the default ConfluenceAuthenticator
to enable SSO.
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.crowd.integration.seraph.v22.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 |
Methods inherited from class com.atlassian.crowd.integration.seraph.v22.CrowdAuthenticator |
authenticate, fetchUserInCache, getUser, isAuthenticated, 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 |
CrowdConfluenceAuthenticator
public CrowdConfluenceAuthenticator()
CrowdConfluenceAuthenticator
public CrowdConfluenceAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator)
logoutUser
protected void logoutUser(HttpServletRequest request)
- Specified by:
logoutUser
in class com.atlassian.crowd.integration.seraph.v22.CrowdAuthenticator
getUser
protected Principal getUser(String username)
- Specified by:
getUser
in class com.atlassian.seraph.auth.DefaultAuthenticator
login
public boolean login(HttpServletRequest request,
HttpServletResponse response,
String username,
String password,
boolean cookie)
throws com.atlassian.seraph.auth.AuthenticatorException
- Specified by:
login
in interface com.atlassian.seraph.auth.Authenticator
- Overrides:
login
in class com.atlassian.crowd.integration.seraph.v22.CrowdAuthenticator
- Throws:
com.atlassian.seraph.auth.AuthenticatorException
getEventManager
protected EventManager getEventManager()
getUserManager
protected com.atlassian.user.UserManager getUserManager()