|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.security.authentication.AbstractAuthenticationComponent
org.alfresco.repo.security.authentication.AuthenticationComponentImpl
public class AuthenticationComponentImpl
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.alfresco.repo.security.authentication.AuthenticationComponent |
---|
AuthenticationComponent.UserNameValidationMode |
Constructor Summary | |
---|---|
AuthenticationComponentImpl()
|
Method Summary | |
---|---|
net.sf.acegisecurity.Authentication |
authenticate(net.sf.acegisecurity.Authentication token)
The default is not to support Authentication token base authentication |
protected void |
authenticateImpl(java.lang.String userName,
char[] password)
Authenticate |
java.util.Set |
getDefaultAdministratorUserNames()
Gets a set of user names who for this particular authentication system should be considered administrators by default. |
java.lang.String |
getMD4HashedPassword(java.lang.String userName)
Get the password hash from the DAO |
NTLMMode |
getNTLMMode()
This implementation supported MD4 password hashes. |
protected net.sf.acegisecurity.UserDetails |
getUserDetails(java.lang.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.alfresco.repo.security.authentication.AuthenticationComponent |
---|
authenticate, 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 |
Constructor Detail |
---|
public AuthenticationComponentImpl()
Method Detail |
---|
public void setAuthenticationManager(net.sf.acegisecurity.AuthenticationManager authenticationManager)
authenticationManager
- public void setAuthenticationDao(MutableAuthenticationDao authenticationDao)
authenticationDao
- protected void authenticateImpl(java.lang.String userName, char[] password) throws org.alfresco.repo.security.authentication.AuthenticationException
authenticateImpl
in class AbstractAuthenticationComponent
org.alfresco.repo.security.authentication.AuthenticationException
protected net.sf.acegisecurity.UserDetails getUserDetails(java.lang.String userName)
getUserDetails
in class AbstractAuthenticationComponent
public java.lang.String getMD4HashedPassword(java.lang.String userName)
getMD4HashedPassword
in interface NLTMAuthenticator
userName
- the user name
public net.sf.acegisecurity.Authentication authenticate(net.sf.acegisecurity.Authentication token) throws org.alfresco.repo.security.authentication.AuthenticationException
authenticate
in interface NLTMAuthenticator
token
- Authentication
org.alfresco.repo.security.authentication.AuthenticationException
- the authentication exceptionpublic NTLMMode getNTLMMode()
getNTLMMode
in interface NLTMAuthenticator
protected boolean implementationAllowsGuestLogin()
implementationAllowsGuestLogin
in class AbstractAuthenticationComponent
public java.util.Set getDefaultAdministratorUserNames()
AbstractAuthenticationComponent
getDefaultAdministratorUserNames
in interface AuthenticationComponent
getDefaultAdministratorUserNames
in class AbstractAuthenticationComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |