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, Serializable

public class BambooAuthenticator
extends CrowdAuthenticator

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.crowd.integration.seraph.CrowdAuthenticator
httpAuthenticator, userManager
 
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(HttpAuthenticator httpAuthenticator, UserManager userManager)
           
 
Method Summary
protected  org.acegisecurity.Authentication createAuthentication(javax.servlet.ServletRequest request)
           
protected  Principal getUser(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, getUser, isAuthenticated, login, login, logout
 
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
 
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(HttpAuthenticator httpAuthenticator,
                           UserManager userManager)
Method Detail

getUser

protected Principal getUser(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 © 2009 Atlassian Pty Ltd. All Rights Reserved.