Interface NLTMAuthenticator
-
- All Superinterfaces:
AuthenticationComponent,AuthenticationContext
- All Known Implementing Classes:
AuthenticationComponentImpl,ChainingAuthenticationComponentImpl,NTLMAuthenticationComponentImpl,SimpleAcceptOrRejectAllAuthenticationComponentImpl
public interface NLTMAuthenticator extends AuthenticationComponent
An specializedAuthenticationComponentthat 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.- Author:
- dward
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.repo.security.authentication.AuthenticationComponent
AuthenticationComponent.UserNameValidationMode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description net.sf.acegisecurity.Authenticationauthenticate(net.sf.acegisecurity.Authentication token)Authenticate using a token.java.lang.StringgetMD4HashedPassword(java.lang.String userName)Get the MD4 password hash, as required by NTLM based authentication methods.NTLMModegetNTLMMode()Get the enum that describes NTLM integration.-
Methods inherited from interface org.alfresco.repo.security.authentication.AuthenticationComponent
authenticate, getDefaultAdministratorUserNames, getDefaultGuestUserNames, guestUserAuthenticationAllowed, setCurrentUser, setCurrentUser, setGuestUserAsCurrentUser
-
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
-
-
-
-
Method Detail
-
authenticate
net.sf.acegisecurity.Authentication authenticate(net.sf.acegisecurity.Authentication token) throws org.alfresco.repo.security.authentication.AuthenticationExceptionAuthenticate 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
-
-