org.alfresco.repo.security.authentication.subsystems
Class SubsystemChainingAuthenticationComponent

java.lang.Object
  extended by org.alfresco.repo.security.authentication.AbstractAuthenticationComponent
      extended by org.alfresco.repo.security.authentication.AbstractChainingAuthenticationComponent
          extended by org.alfresco.repo.security.authentication.subsystems.SubsystemChainingAuthenticationComponent
All Implemented Interfaces:
AuthenticationComponent, AuthenticationContext

public class SubsystemChainingAuthenticationComponent
extends AbstractChainingAuthenticationComponent

An authentication component that chains across beans in multiple child application contexts corresponding to different 'subsystems' in a chain determined by a ChildApplicationContextManager.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.repo.security.authentication.AuthenticationComponent
AuthenticationComponent.UserNameValidationMode
 
Constructor Summary
SubsystemChainingAuthenticationComponent()
           
 
Method Summary
protected  java.util.Collection getUsableAuthenticationComponents()
          Gets the authentication components across which methods will chain.
 void setApplicationContextManager(ChildApplicationContextManager applicationContextManager)
           
 void setSourceBeanName(java.lang.String sourceBeanName)
          Sets the name of the bean to look up in the child application contexts.
 
Methods inherited from class org.alfresco.repo.security.authentication.AbstractChainingAuthenticationComponent
authenticateImpl, getDefaultAdministratorUserNames, getDefaultGuestUserNames, implementationAllowsGuestLogin, setCurrentUser, setCurrentUser
 
Methods inherited from class org.alfresco.repo.security.authentication.AbstractAuthenticationComponent
authenticate, clearCurrentSecurityContext, getAllowGuestLogin, getCurrentAuthentication, getCurrentUserName, getGuestUserName, getGuestUserName, getNodeService, getPersonService, getSystemUserName, getSystemUserName, getTransactionService, getUserDetails, getUserDomain, guestUserAuthenticationAllowed, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, setAllowGuestLogin, setAuthenticationContext, setCurrentAuthentication, setDefaultAdministratorUserNameList, setDefaultAdministratorUserNames, setDefaultGuestUserNameList, setDefaultGuestUserNames, setGuestUserAsCurrentUser, setNodeService, setPersonService, setSystemUserAsCurrentUser, setSystemUserAsCurrentUser, setTransactionService, setUserDetails, setUserRegistrySynchronizer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubsystemChainingAuthenticationComponent

public SubsystemChainingAuthenticationComponent()
Method Detail

setApplicationContextManager

public void setApplicationContextManager(ChildApplicationContextManager applicationContextManager)
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

getUsableAuthenticationComponents

protected java.util.Collection getUsableAuthenticationComponents()
Description copied from class: AbstractChainingAuthenticationComponent
Gets the authentication components across which methods will chain.

Specified by:
getUsableAuthenticationComponents in class AbstractChainingAuthenticationComponent
Returns:
the usable authentication components


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.