public interface AuthenticationComponent extends AuthenticationContext
| Modifier and Type | Interface and Description |
|---|---|
static class |
AuthenticationComponent.UserNameValidationMode |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clearCurrentSecurityContext, getCurrentAuthentication, getCurrentUserName, getGuestUserName, getGuestUserName, getSystemUserName, getSystemUserName, getUserDomain, isCurrentUserTheSystemUser, isGuestUserName, isSystemUserName, setCurrentAuthentication, setSystemUserAsCurrentUser, setSystemUserAsCurrentUser, setUserDetailsvoid 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()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.