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:
- Authenticator, Initable, Serializable
- Direct Known Subclasses:
- ConfluenceGroupJoiningAuthenticator
public class ConfluenceAuthenticator
- extends DefaultAuthenticator
- See Also:
- Serialized Form
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceAuthenticator
public ConfluenceAuthenticator()
logout
public boolean logout(HttpServletRequest request,
HttpServletResponse response)
throws AuthenticatorException
- Specified by:
logout
in interface Authenticator
- Overrides:
logout
in class DefaultAuthenticator
- Throws:
AuthenticatorException
login
public boolean login(HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse,
String username,
String password,
boolean b)
throws AuthenticatorException
- Specified by:
login
in interface Authenticator
- Overrides:
login
in class DefaultAuthenticator
- Throws:
AuthenticatorException
authenticate
protected boolean authenticate(Principal user,
String password)
- Overrides:
authenticate
in class DefaultAuthenticator
getEventManager
protected EventManager getEventManager()
setUserAccessor
public void setUserAccessor(UserAccessor userAccessor)
getUserAccessor
protected UserAccessor getUserAccessor()
getUser
protected Principal getUser(String uid)
- Overrides:
getUser
in class DefaultAuthenticator
getUser
public Principal getUser(HttpServletRequest request,
HttpServletResponse httpServletResponse)
- Specified by:
getUser
in interface Authenticator
- Overrides:
getUser
in class DefaultAuthenticator