org.alfresco.repo.security.authentication.ntlm
Interface NLTMAuthenticator
- All Superinterfaces:
- AuthenticationComponent, AuthenticationContext
- All Known Implementing Classes:
- AuthenticationComponentImpl, ChainingAuthenticationComponentImpl, NTLMAuthenticationComponentImpl, SimpleAcceptOrRejectAllAuthenticationComponentImpl
public interface NLTMAuthenticator
- extends AuthenticationComponent
An specialized AuthenticationComponent
that is capable of handling NTLM authentication directly, either by
'passing through' to a domain server or by validating an MD4 hashed password. Unlike other authentication methods,
these operations cannot be chained and must be handled by a specific authentication component.
Method Summary |
net.sf.acegisecurity.Authentication |
authenticate(net.sf.acegisecurity.Authentication token)
Authenticate using a token. |
java.lang.String |
getMD4HashedPassword(java.lang.String userName)
Get the MD4 password hash, as required by NTLM based authentication methods. |
NTLMMode |
getNTLMMode()
Get the enum that describes NTLM integration. |
Methods inherited from interface org.alfresco.repo.security.authentication.AuthenticationContext |
clearCurrentSecurityContext, getCurrentAuthentication, getCurrentUserName, getGuestUserName, getGuestUserName, getSystemUserName, getSystemUserName, getUserDomain, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, setCurrentAuthentication, setSystemUserAsCurrentUser, setSystemUserAsCurrentUser, setUserDetails |
authenticate
net.sf.acegisecurity.Authentication authenticate(net.sf.acegisecurity.Authentication token)
throws org.alfresco.repo.security.authentication.AuthenticationException
- Authenticate using a token.
- Parameters:
token
- Authentication
- Returns:
- Authentication
- Throws:
org.alfresco.repo.security.authentication.AuthenticationException
- the authentication exception
getNTLMMode
NTLMMode getNTLMMode()
- Get the enum that describes NTLM integration.
- Returns:
- the NTLM mode
getMD4HashedPassword
java.lang.String getMD4HashedPassword(java.lang.String userName)
- Get the MD4 password hash, as required by NTLM based authentication methods.
- Parameters:
userName
- the user name
- Returns:
- the m d4 hashed password
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.