public class SimpleAcceptOrRejectAllAuthenticationComponentImpl extends AbstractAuthenticationComponent implements NLTMAuthenticator
AuthenticationComponent.UserNameValidationMode| Constructor and Description |
|---|
SimpleAcceptOrRejectAllAuthenticationComponentImpl() |
| 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
|
void |
authenticateImpl(java.lang.String userName,
char[] password)
Default unsupported authentication implementation - as of 2.1 this is the best way to implement your own
authentication component as it will support guest login - prior to this direct over ride for authenticate(String ,
char[]) was used.
|
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.
|
protected boolean |
implementationAllowsGuestLogin() |
void |
setAccept(boolean accept) |
void |
setSupportNtlm(boolean supportNtlm) |
authenticate, clearCurrentSecurityContext, getAllowGuestLogin, getCurrentAuthentication, getCurrentUserName, getDefaultAdministratorUserNames, getDefaultGuestUserNames, getGuestUserName, getGuestUserName, getNodeService, getPersonService, getSystemUserName, getSystemUserName, getTransactionService, getUserDetails, getUserDomain, guestUserAuthenticationAllowed, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, 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, getDefaultAdministratorUserNames, getDefaultGuestUserNames, guestUserAuthenticationAllowed, setCurrentUser, setCurrentUser, setGuestUserAsCurrentUserclearCurrentSecurityContext, getCurrentAuthentication, getCurrentUserName, getGuestUserName, getGuestUserName, getSystemUserName, getSystemUserName, getUserDomain, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, setCurrentAuthentication, setSystemUserAsCurrentUser, setSystemUserAsCurrentUser, setUserDetailspublic SimpleAcceptOrRejectAllAuthenticationComponentImpl()
public void setAccept(boolean accept)
public void setSupportNtlm(boolean supportNtlm)
public void authenticateImpl(java.lang.String userName,
char[] password)
throws org.alfresco.repo.security.authentication.AuthenticationException
AbstractAuthenticationComponentauthenticateImpl in class AbstractAuthenticationComponentorg.alfresco.repo.security.authentication.AuthenticationExceptionprotected boolean implementationAllowsGuestLogin()
implementationAllowsGuestLogin in class AbstractAuthenticationComponentpublic java.lang.String getMD4HashedPassword(java.lang.String userName)
NLTMAuthenticatorgetMD4HashedPassword in interface NLTMAuthenticatoruserName - the user namepublic NTLMMode getNTLMMode()
NLTMAuthenticatorgetNTLMMode in interface NLTMAuthenticatorpublic 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 exceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.