public class AuthenticationComponentImpl extends AbstractAuthenticationComponent implements NLTMAuthenticator
AuthenticationComponent.UserNameValidationMode| Constructor and Description |
|---|
AuthenticationComponentImpl() |
| Modifier and Type | Method and Description |
|---|---|
net.sf.acegisecurity.Authentication |
authenticate(net.sf.acegisecurity.Authentication token)
The default is not to support Authentication token base authentication
|
protected void |
authenticateImpl(String userNameIn,
char[] password)
Authenticate
|
Set<String> |
getDefaultAdministratorUserNames()
Gets a set of user names who for this particular authentication system should be considered administrators by
default.
|
String |
getMD4HashedPassword(String userName)
Get the password hash from the DAO
|
NTLMMode |
getNTLMMode()
This implementation supported MD4 password hashes.
|
protected net.sf.acegisecurity.UserDetails |
getUserDetails(String userName)
We actually have an acegi object so override the default method.
|
protected boolean |
implementationAllowsGuestLogin() |
void |
setAuthenticationDao(MutableAuthenticationDao authenticationDao)
IOC
|
void |
setAuthenticationManager(net.sf.acegisecurity.AuthenticationManager authenticationManager)
IOC
|
void |
setCompositePasswordEncoder(CompositePasswordEncoder passwordEncoder) |
authenticate, clearCurrentSecurityContext, getAllowGuestLogin, getCurrentAuthentication, getCurrentUserName, getDefaultGuestUserNames, getGuestUserName, getGuestUserName, getNodeService, getNumberFailedAuthentications, getNumberSuccessfulAuthentications, getPersonService, getSystemUserName, getSystemUserName, getTransactionService, getUserDomain, guestUserAuthenticationAllowed, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, onAuthenticate, onFail, setAllowGuestLogin, setAuthenticationContext, setCurrentAuthentication, setCurrentUser, setCurrentUser, setDefaultAdministratorUserNameList, setDefaultAdministratorUserNames, setDefaultGuestUserNameList, setDefaultGuestUserNames, setGuestUserAsCurrentUser, setNodeService, setPersonService, setSystemUserAsCurrentUser, setSystemUserAsCurrentUser, setTransactionService, setUserDetails, setUserRegistrySynchronizerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, getDefaultGuestUserNames, guestUserAuthenticationAllowed, setCurrentUser, setCurrentUser, setGuestUserAsCurrentUserclearCurrentSecurityContext, getCurrentAuthentication, getCurrentUserName, getGuestUserName, getGuestUserName, getSystemUserName, getSystemUserName, getUserDomain, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, setCurrentAuthentication, setSystemUserAsCurrentUser, setSystemUserAsCurrentUser, setUserDetailspublic void setAuthenticationManager(net.sf.acegisecurity.AuthenticationManager authenticationManager)
authenticationManager - AuthenticationManagerpublic void setAuthenticationDao(MutableAuthenticationDao authenticationDao)
authenticationDao - MutableAuthenticationDaopublic void setCompositePasswordEncoder(CompositePasswordEncoder passwordEncoder)
protected void authenticateImpl(String userNameIn, char[] password) throws org.alfresco.repo.security.authentication.AuthenticationException
authenticateImpl in class AbstractAuthenticationComponentuserNameIn - Stringpassword - char[]org.alfresco.repo.security.authentication.AuthenticationExceptionprotected net.sf.acegisecurity.UserDetails getUserDetails(String userName)
getUserDetails in class AbstractAuthenticationComponentuserName - Stringpublic String getMD4HashedPassword(String userName)
getMD4HashedPassword in interface NLTMAuthenticatoruserName - the user namepublic 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 NTLMMode getNTLMMode()
getNTLMMode in interface NLTMAuthenticatorprotected boolean implementationAllowsGuestLogin()
implementationAllowsGuestLogin in class AbstractAuthenticationComponentpublic Set<String> getDefaultAdministratorUserNames()
AbstractAuthenticationComponentgetDefaultAdministratorUserNames in interface AuthenticationComponentgetDefaultAdministratorUserNames in class AbstractAuthenticationComponentCopyright © 2005–2018 Alfresco Software. All rights reserved.