public class ChainingAuthenticationComponentImpl extends AbstractChainingAuthenticationComponent implements NLTMAuthenticator
AuthenticationComponent.UserNameValidationMode| Constructor and Description |
|---|
ChainingAuthenticationComponentImpl() |
| Modifier and Type | Method and Description |
|---|---|
net.sf.acegisecurity.Authentication |
authenticate(net.sf.acegisecurity.Authentication token)
NTLM passthrough authentication - if a mode is defined - the first PASS_THROUGH provider is used - if not, the
first component that supports NTLM is used if it supports PASS_THROUGH
|
java.util.List |
getAuthenticationComponents()
Get the authentication components
|
java.lang.String |
getGuestUserName()
Get the guest user name
|
java.lang.String |
getMD4HashedPassword(java.lang.String userName)
Get the MD4 password hash
|
AuthenticationComponent |
getMutableAuthenticationComponent()
Get the authentication service thta must be at the top of the list (this may be null)
|
NTLMMode |
getNTLMMode()
Get the NTLM mode - this is only what is set if one of the implementations provides support for that mode.
|
protected java.util.Collection |
getUsableAuthenticationComponents()
Helper to get authentication components
|
void |
setAuthenticationComponents(java.util.List authenticationComponents)
Set a list of authentication components
|
void |
setMutableAuthenticationComponent(AuthenticationComponent mutableAuthenticationComponent)
Set the authentication component at the top of the list.
|
void |
setNtlmMode(NTLMMode ntlmMode) |
authenticateImpl, getDefaultAdministratorUserNames, getDefaultGuestUserNames, implementationAllowsGuestLogin, setCurrentUser, setCurrentUserauthenticate, clearCurrentSecurityContext, getAllowGuestLogin, getCurrentAuthentication, getCurrentUserName, 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, setUserRegistrySynchronizerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, getDefaultAdministratorUserNames, getDefaultGuestUserNames, guestUserAuthenticationAllowed, setCurrentUser, setCurrentUser, setGuestUserAsCurrentUserclearCurrentSecurityContext, getCurrentAuthentication, getCurrentUserName, getGuestUserName, getSystemUserName, getSystemUserName, getUserDomain, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, setCurrentAuthentication, setSystemUserAsCurrentUser, setSystemUserAsCurrentUser, setUserDetailspublic java.util.List getAuthenticationComponents()
public void setAuthenticationComponents(java.util.List authenticationComponents)
authenticationComponents - public AuthenticationComponent getMutableAuthenticationComponent()
public void setMutableAuthenticationComponent(AuthenticationComponent mutableAuthenticationComponent)
mutableAuthenticationComponent - public void setNtlmMode(NTLMMode ntlmMode)
public net.sf.acegisecurity.Authentication authenticate(net.sf.acegisecurity.Authentication token)
throws org.alfresco.repo.security.authentication.AuthenticationException
authenticate in interface NLTMAuthenticatortoken - Authenticationorg.alfresco.repo.security.authentication.AuthenticationException - the authentication exceptionpublic java.lang.String getGuestUserName()
getGuestUserName in interface AuthenticationContextgetGuestUserName in class AbstractAuthenticationComponentpublic java.lang.String getMD4HashedPassword(java.lang.String userName)
getMD4HashedPassword in interface NLTMAuthenticatoruserName - the user namepublic NTLMMode getNTLMMode()
getNTLMMode in interface NLTMAuthenticatorprotected java.util.Collection getUsableAuthenticationComponents()
getUsableAuthenticationComponents in class AbstractChainingAuthenticationComponentCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.