com.atlassian.crowd.integration.seraph.v22
Class ConfluenceAuthenticator

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

public class ConfluenceAuthenticator
extends CrowdAuthenticator

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.crowd.integration.seraph.v22.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
ConfluenceAuthenticator()
           
ConfluenceAuthenticator(CrowdHttpAuthenticator crowdHttpAuthenticator)
           
 
Method Summary
protected  java.security.Principal getUser(java.lang.String username)
           
protected  void logoutUser(javax.servlet.http.HttpServletRequest request)
          This method will allow you to remove all session information about the user and force them to re-authenticate If you wish to remove specific application attributes for the user, e.g.
 
Methods inherited from class com.atlassian.crowd.integration.seraph.v22.CrowdAuthenticator
authenticate, fetchUserInCache, getUser, isAuthenticated, login, logout, rememberMeLoginToCrowd
 
Methods inherited from class com.atlassian.seraph.auth.DefaultAuthenticator
authoriseUserAndEstablishSession, getAuthType, getElevatedSecurityGuard, getLogoutInterceptors, getRememberMeService, getRoleMapper, getUserFromBasicAuthentication, getUserFromCookie, getUserFromSession, init, isAuthorised, isPrincipalAlreadyInSessionContext, isUserInRole, putPrincipalInSessionContext, refreshPrincipalObtainedFromSession, removePrincipalFromSessionContext
 
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
 

Constructor Detail

ConfluenceAuthenticator

public ConfluenceAuthenticator()

ConfluenceAuthenticator

public ConfluenceAuthenticator(CrowdHttpAuthenticator crowdHttpAuthenticator)
Method Detail

logoutUser

protected void logoutUser(javax.servlet.http.HttpServletRequest request)
Description copied from class: CrowdAuthenticator
This method will allow you to remove all session information about the user and force them to re-authenticate If you wish to remove specific application attributes for the user, e.g. org.acegisecurity.context.SecurityContextHolder.clearContext(); from Bamboo

Specified by:
logoutUser in class CrowdAuthenticator
Parameters:
request - the current request

getUser

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


Copyright © 2012 Atlassian. All Rights Reserved.