com.atlassian.crowd.integration.seraph
Class BambooAuthenticator

java.lang.Object
  extended by com.atlassian.seraph.auth.AbstractAuthenticator
      extended by com.atlassian.seraph.auth.DefaultAuthenticator
          extended by com.atlassian.crowd.integration.seraph.CrowdAuthenticator
              extended by com.atlassian.crowd.integration.seraph.BambooAuthenticator
All Implemented Interfaces:
com.atlassian.seraph.auth.Authenticator, com.atlassian.seraph.Initable, java.io.Serializable

public class BambooAuthenticator
extends CrowdAuthenticator

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.crowd.integration.seraph.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
 
Constructor Summary
BambooAuthenticator()
           
BambooAuthenticator(CrowdHttpAuthenticator crowdHttpAuthenticator)
           
 
Method Summary
protected  org.acegisecurity.Authentication createAuthentication(javax.servlet.ServletRequest request)
           
protected  java.security.Principal getUser(java.lang.String username)
           
protected  void logoutUser(javax.servlet.http.HttpServletRequest request)
          Clear the Acegi security context in Bamboo and replace it with an AnonymousAuthenticationToken
 
Methods inherited from class com.atlassian.crowd.integration.seraph.CrowdAuthenticator
authenticate, autoLoginToCrowd, fetchUserInCache, getUser, isAuthenticated, login, login, logout
 
Methods inherited from class com.atlassian.seraph.auth.DefaultAuthenticator
authoriseUserAndEstablishSession, getAuthType, getElevatedSecurityGuard, getLogoutInterceptors, getRememberMeService, getRoleMapper, getUserFromBasicAuthentication, getUserFromCookie, getUserFromSession, init, isAuthorised, isUserInRole, putPrincipalInSessionContext, removePrincipalFromSessionContext
 
Methods inherited from class com.atlassian.seraph.auth.AbstractAuthenticator
destroy, getConfig, getRemoteUser, getUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooAuthenticator

public BambooAuthenticator()

BambooAuthenticator

public BambooAuthenticator(CrowdHttpAuthenticator crowdHttpAuthenticator)
Method Detail

getUser

protected java.security.Principal getUser(java.lang.String username)
Overrides:
getUser in class com.atlassian.seraph.auth.DefaultAuthenticator

createAuthentication

protected org.acegisecurity.Authentication createAuthentication(javax.servlet.ServletRequest request)

logoutUser

protected void logoutUser(javax.servlet.http.HttpServletRequest request)
Clear the Acegi security context in Bamboo and replace it with an AnonymousAuthenticationToken

Parameters:
request -


Copyright © 2010 Atlassian. All Rights Reserved.