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, testAuthenticate
authenticate, 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, setUserRegistrySynchronizer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
authenticate, getDefaultAdministratorUserNames, getDefaultGuestUserNames, guestUserAuthenticationAllowed, setCurrentUser, setCurrentUser, setGuestUserAsCurrentUser
clearCurrentSecurityContext, getCurrentAuthentication, getCurrentUserName, getGuestUserName, getSystemUserName, getSystemUserName, getUserDomain, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, setCurrentAuthentication, setSystemUserAsCurrentUser, setSystemUserAsCurrentUser, setUserDetails
public 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 NLTMAuthenticator
token
- Authenticationorg.alfresco.repo.security.authentication.AuthenticationException
- the authentication exceptionpublic String getGuestUserName()
getGuestUserName
in interface AuthenticationContext
getGuestUserName
in class AbstractAuthenticationComponent
public String getMD4HashedPassword(String userName)
getMD4HashedPassword
in interface NLTMAuthenticator
userName
- the user namepublic NTLMMode getNTLMMode()
getNTLMMode
in interface NLTMAuthenticator
protected Collection<AuthenticationComponent> getUsableAuthenticationComponents()
getUsableAuthenticationComponents
in class AbstractChainingAuthenticationComponent
protected AuthenticationComponent getAuthenticationComponent(String name)
AbstractChainingAuthenticationComponent
getAuthenticationComponent
in class AbstractChainingAuthenticationComponent
name
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.