com.atlassian.confluence.user
Class ConfluenceAuthenticator
java.lang.Object
com.atlassian.seraph.auth.AbstractAuthenticator
com.atlassian.seraph.auth.DefaultAuthenticator
com.atlassian.confluence.user.ConfluenceAuthenticator
- All Implemented Interfaces:
- com.atlassian.seraph.auth.Authenticator, com.atlassian.seraph.Initable, java.io.Serializable
- Direct Known Subclasses:
- ConfluenceGroupJoiningAuthenticator
public class ConfluenceAuthenticator
- extends com.atlassian.seraph.auth.DefaultAuthenticator
- See Also:
- Serialized Form
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 |
Method Summary |
protected boolean |
authenticate(java.security.Principal user,
java.lang.String password)
|
protected com.atlassian.event.EventManager |
getEventManager()
|
java.security.Principal |
getUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
protected java.security.Principal |
getUser(java.lang.String uid)
|
protected UserAccessor |
getUserAccessor()
|
boolean |
login(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
java.lang.String username,
java.lang.String password,
boolean b)
|
boolean |
logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
setUserAccessor(UserAccessor userAccessor)
|
Methods inherited from class com.atlassian.seraph.auth.DefaultAuthenticator |
decodeCookie, encodeCookie, getAuthType, getCookiePath, getLoginCookieKey, getLoginCookiePath, getLogoutInterceptors, getRoleMapper, getUserFromBasicAuthentication, getUserFromCookie, getUserFromSession, init, isUserInRole |
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 |
ConfluenceAuthenticator
public ConfluenceAuthenticator()
logout
public boolean logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws com.atlassian.seraph.auth.AuthenticatorException
- Specified by:
logout
in interface com.atlassian.seraph.auth.Authenticator
- Overrides:
logout
in class com.atlassian.seraph.auth.DefaultAuthenticator
- Throws:
com.atlassian.seraph.auth.AuthenticatorException
login
public boolean login(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
java.lang.String username,
java.lang.String password,
boolean b)
throws com.atlassian.seraph.auth.AuthenticatorException
- Specified by:
login
in interface com.atlassian.seraph.auth.Authenticator
- Overrides:
login
in class com.atlassian.seraph.auth.DefaultAuthenticator
- Throws:
com.atlassian.seraph.auth.AuthenticatorException
authenticate
protected boolean authenticate(java.security.Principal user,
java.lang.String password)
- Overrides:
authenticate
in class com.atlassian.seraph.auth.DefaultAuthenticator
getEventManager
protected com.atlassian.event.EventManager getEventManager()
setUserAccessor
public void setUserAccessor(UserAccessor userAccessor)
getUserAccessor
protected UserAccessor getUserAccessor()
getUser
protected java.security.Principal getUser(java.lang.String uid)
- Overrides:
getUser
in class com.atlassian.seraph.auth.DefaultAuthenticator
getUser
public java.security.Principal getUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse httpServletResponse)
- Specified by:
getUser
in interface com.atlassian.seraph.auth.Authenticator
- Overrides:
getUser
in class com.atlassian.seraph.auth.DefaultAuthenticator
Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.