public class BambooAuthenticator
extends com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator
Authenticator
that works against Crowd and enables single sign-on.
This is not currently dynamic; it will only pick up configuration changes to the Crowd
client properties when Bamboo is restarted. It will only work against Crowd, not against JIRA.Constructor and Description |
---|
BambooAuthenticator() |
BambooAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator) |
Modifier and Type | Method and Description |
---|---|
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 . |
authenticate, fetchUserInCache, getUser, isAuthenticated, login, logout, rememberMeLoginToCrowd
authoriseUserAndEstablishSession, getAuthType, getElevatedSecurityGuard, getLogoutInterceptors, getRememberMeService, getRoleMapper, getUserFromBasicAuthentication, getUserFromCookie, getUserFromSession, init, isAuthorised, isPrincipalAlreadyInSessionContext, putPrincipalInSessionContext, refreshPrincipalObtainedFromSession, removePrincipalFromSessionContext
public BambooAuthenticator()
public BambooAuthenticator(com.atlassian.crowd.integration.http.CrowdHttpAuthenticator crowdHttpAuthenticator)
protected Principal getUser(String username)
getUser
in class com.atlassian.seraph.auth.DefaultAuthenticator
protected org.acegisecurity.Authentication createAuthentication(javax.servlet.ServletRequest request)
protected void logoutUser(javax.servlet.http.HttpServletRequest request)
AnonymousAuthenticationToken
.logoutUser
in class com.atlassian.crowd.integration.seraph.v25.CrowdAuthenticator
request
- Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.