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
|
protected AuthenticationComponent |
getAuthenticationComponent(String name)
Get the authentication component with the specified name
|
List<AuthenticationComponent> |
getAuthenticationComponents()
Get the authentication components
|
String |
getGuestUserName()
Get the guest user name
|
String |
getMD4HashedPassword(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 Collection<AuthenticationComponent> |
getUsableAuthenticationComponents()
Helper to get authentication components
|
void |
setAuthenticationComponents(List<AuthenticationComponent> 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, setCurrentUser, testAuthenticateauthenticate, clearCurrentSecurityContext, getAllowGuestLogin, getCurrentAuthentication, getCurrentUserName, getGuestUserName, getNodeService, getNumberFailedAuthentications, getNumberSuccessfulAuthentications, getPersonService, getSystemUserName, getSystemUserName, getTransactionService, getUserDetails, getUserDomain, guestUserAuthenticationAllowed, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, onAuthenticate, onFail, 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 List<AuthenticationComponent> getAuthenticationComponents()
public void setAuthenticationComponents(List<AuthenticationComponent> authenticationComponents)
public AuthenticationComponent getMutableAuthenticationComponent()
public void setMutableAuthenticationComponent(AuthenticationComponent mutableAuthenticationComponent)
mutableAuthenticationComponent - AuthenticationComponentpublic 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 String getGuestUserName()
getGuestUserName in interface AuthenticationContextgetGuestUserName in class AbstractAuthenticationComponentpublic String getMD4HashedPassword(String userName)
getMD4HashedPassword in interface NLTMAuthenticatoruserName - the user namepublic NTLMMode getNTLMMode()
getNTLMMode in interface NLTMAuthenticatorprotected Collection<AuthenticationComponent> getUsableAuthenticationComponents()
getUsableAuthenticationComponents in class AbstractChainingAuthenticationComponentprotected AuthenticationComponent getAuthenticationComponent(String name)
AbstractChainingAuthenticationComponentgetAuthenticationComponent in class AbstractChainingAuthenticationComponentname - StringCopyright © 2005–2018 Alfresco Software. All rights reserved.