|
|||||||||
| 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 AbstractAuthenticationComponentorg.alfresco.repo.security.authentication.AuthenticationExceptionprotected net.sf.acegisecurity.UserDetails getUserDetails(java.lang.String userName)
getUserDetails in class AbstractAuthenticationComponentpublic java.lang.String getMD4HashedPassword(java.lang.String userName)
getMD4HashedPassword in interface NLTMAuthenticatoruserName - the user name
public net.sf.acegisecurity.Authentication authenticate(net.sf.acegisecurity.Authentication token)
throws org.alfresco.repo.security.authentication.AuthenticationException
authenticate in interface NLTMAuthenticatortoken - Authentication
org.alfresco.repo.security.authentication.AuthenticationException - the authentication exceptionpublic NTLMMode getNTLMMode()
getNTLMMode in interface NLTMAuthenticatorprotected boolean implementationAllowsGuestLogin()
implementationAllowsGuestLogin in class AbstractAuthenticationComponentpublic java.util.Set getDefaultAdministratorUserNames()
AbstractAuthenticationComponent
getDefaultAdministratorUserNames in interface AuthenticationComponentgetDefaultAdministratorUserNames in class AbstractAuthenticationComponent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||