|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AuthenticationComponent
| Nested Class Summary | |
|---|---|
static class |
AuthenticationComponent.UserNameValidationMode
|
| Method Summary | |
|---|---|
void |
authenticate(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.util.Set |
getDefaultGuestUserNames()
Gets a set of user names who for this particular authentication system should be considered guests by default. |
boolean |
guestUserAuthenticationAllowed()
True if Guest user authentication is allowed, false otherwise |
net.sf.acegisecurity.Authentication |
setCurrentUser(java.lang.String userName)
Explicitly set the current user to be authenticated. |
net.sf.acegisecurity.Authentication |
setCurrentUser(java.lang.String userName,
AuthenticationComponent.UserNameValidationMode validationMode)
Explicitly set the current user to be authenticated. |
net.sf.acegisecurity.Authentication |
setGuestUserAsCurrentUser()
Set the guest user as the current user. |
| 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 |
|---|
void authenticate(java.lang.String userName,
char[] password)
throws org.alfresco.repo.security.authentication.AuthenticationException
AuthenticationExceptionnet.sf.acegisecurity.Authentication setCurrentUser(java.lang.String userName)
net.sf.acegisecurity.Authentication setCurrentUser(java.lang.String userName,
AuthenticationComponent.UserNameValidationMode validationMode)
net.sf.acegisecurity.Authentication setGuestUserAsCurrentUser()
boolean guestUserAuthenticationAllowed()
java.util.Set getDefaultAdministratorUserNames()
java.util.Set getDefaultGuestUserNames()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||