org.alfresco.repo.security.authentication.subsystems
Class SubsystemChainingAuthenticationService
java.lang.Object
org.alfresco.repo.security.authentication.AbstractAuthenticationService
org.alfresco.repo.security.authentication.AbstractChainingAuthenticationService
org.alfresco.repo.security.authentication.subsystems.SubsystemChainingAuthenticationService
- All Implemented Interfaces:
- AuthenticationService, MutableAuthenticationService
public class SubsystemChainingAuthenticationService
- extends AbstractChainingAuthenticationService
An authentication service that chains across beans in multiple child application contexts corresponding to different
'subsystems' in a chain determined by a ChildApplicationContextManager. The first authentication service in
the chain will always be considered to be the 'mutable' authentication service.
| Methods inherited from class org.alfresco.repo.security.authentication.AbstractChainingAuthenticationService |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubsystemChainingAuthenticationService
public SubsystemChainingAuthenticationService()
setApplicationContextManager
public void setApplicationContextManager(ChildApplicationContextManager applicationContextManager)
- Sets the application context manager.
- Parameters:
applicationContextManager - the applicationContextManager to set
setSourceBeanName
public void setSourceBeanName(java.lang.String sourceBeanName)
- Sets the name of the bean to look up in the child application contexts.
- Parameters:
sourceBeanName - the bean name
getMutableAuthenticationService
public MutableAuthenticationService getMutableAuthenticationService()
- Description copied from class:
AbstractChainingAuthenticationService
- Gets the mutable authentication service.
- Specified by:
getMutableAuthenticationService in class AbstractChainingAuthenticationService
- Returns:
- the mutable authentication service
getUsableAuthenticationServices
protected java.util.List getUsableAuthenticationServices()
- Description copied from class:
AbstractChainingAuthenticationService
- Gets the authentication services across which methods will chain.
- Specified by:
getUsableAuthenticationServices in class AbstractChainingAuthenticationService
- Returns:
- the usable authentication services
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.