Class BambooAuthenticator
- java.lang.Object
-
- com.atlassian.seraph.auth.AbstractAuthenticator
-
- com.atlassian.seraph.auth.DefaultAuthenticator
-
- com.atlassian.bamboo.user.authentication.BambooAuthenticator
-
- All Implemented Interfaces:
com.atlassian.seraph.auth.Authenticator,com.atlassian.seraph.Initable,Serializable
public class BambooAuthenticator extends com.atlassian.seraph.auth.DefaultAuthenticatorOnly authenticate when container has been setup- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BambooAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanauthenticate(Principal user, String password)protected PrincipalgetUser(String uid)booleanlogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @Nullable String username, String password, boolean cookie)-
Methods inherited from class com.atlassian.seraph.auth.DefaultAuthenticator
authoriseUserAndEstablishSession, getAuthType, getElevatedSecurityGuard, getLogoutInterceptors, getPrincipalFromSession, getRememberMeService, getRoleMapper, getUser, getUserFromBasicAuthentication, getUserFromCookie, getUserFromSession, init, isAuthorised, isPrincipalAlreadyInSessionContext, logout, putPrincipalInSessionContext, refreshPrincipalObtainedFromSession, removePrincipalFromSessionContext
-
-
-
-
Method Detail
-
login
public boolean login(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @Nullable @Nullable String username, String password, boolean cookie) throws com.atlassian.seraph.auth.AuthenticatorException- Specified by:
loginin interfacecom.atlassian.seraph.auth.Authenticator- Overrides:
loginin classcom.atlassian.seraph.auth.DefaultAuthenticator- Throws:
com.atlassian.seraph.auth.AuthenticatorException
-
authenticate
protected boolean authenticate(Principal user, String password)
- Specified by:
authenticatein classcom.atlassian.seraph.auth.DefaultAuthenticator
-
-