public class SubsystemChainingAuthenticationService extends AbstractChainingAuthenticationService
ChildApplicationContextManager
. The first authentication service in
the chain will always be considered to be the 'mutable' authentication service.GUEST_AUTHENTICATION_NOT_SUPPORTED
Constructor and Description |
---|
SubsystemChainingAuthenticationService() |
Modifier and Type | Method and Description |
---|---|
protected String |
getId(AuthenticationService authService)
Should be overridden to returns the ID of the authService for use in debug.
|
MutableAuthenticationService |
getMutableAuthenticationService()
Gets the mutable authentication service.
|
protected List<AuthenticationService> |
getUsableAuthenticationServices()
Gets the authentication services across which methods will chain.
|
void |
setApplicationContextManager(ChildApplicationContextManager applicationContextManager)
Sets the application context manager.
|
void |
setSourceBeanName(String sourceBeanName)
Sets the name of the bean to look up in the child application contexts.
|
authenticate, authenticateAsGuest, authenticationExists, clearCurrentSecurityContext, countTickets, createAuthentication, deleteAuthentication, getAuthenticationEnabled, getCurrentTicket, getCurrentUserName, getDefaultAdministratorUserNames, getDefaultGuestUserNames, getDomains, getDomainsThatAllowUserCreation, getDomainsThatAllowUserDeletion, getDomiansThatAllowUserPasswordChanges, getNewTicket, getTicketComponents, getUsersWithTickets, guestUserAuthenticationAllowed, invalidateTicket, invalidateTickets, invalidateUserSession, isAuthenticationCreationAllowed, isAuthenticationMutable, isCurrentUserTheSystemUser, setAuthentication, setAuthenticationEnabled, updateAuthentication, validate
getAllowedUsers, getMaxUsers, preAuthenticationCheck, setSysAdminParams
public SubsystemChainingAuthenticationService()
public void setApplicationContextManager(ChildApplicationContextManager applicationContextManager)
applicationContextManager
- the applicationContextManager to setpublic void setSourceBeanName(String sourceBeanName)
sourceBeanName
- the bean namepublic MutableAuthenticationService getMutableAuthenticationService()
AbstractChainingAuthenticationService
getMutableAuthenticationService
in class AbstractChainingAuthenticationService
protected List<AuthenticationService> getUsableAuthenticationServices()
AbstractChainingAuthenticationService
getUsableAuthenticationServices
in class AbstractChainingAuthenticationService
protected String getId(AuthenticationService authService)
AbstractChainingAuthenticationService
getId
in class AbstractChainingAuthenticationService
authService
- in question.Copyright © 2005–2017 Alfresco Software. All rights reserved.