public interface AuthenticationComponent extends AuthenticationContext
Modifier and Type | Interface and Description |
---|---|
static class |
AuthenticationComponent.UserNameValidationMode |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(String userName,
char[] password)
Authenticate
|
Set<String> |
getDefaultAdministratorUserNames()
Gets a set of user names who for this particular authentication system should be considered administrators by
default.
|
Set<String> |
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(String userName)
Explicitly set the current user to be authenticated.
|
net.sf.acegisecurity.Authentication |
setCurrentUser(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, setUserDetails
void authenticate(String userName, char[] password) throws org.alfresco.repo.security.authentication.AuthenticationException
AuthenticationException
net.sf.acegisecurity.Authentication setCurrentUser(String userName)
net.sf.acegisecurity.Authentication setCurrentUser(String userName, AuthenticationComponent.UserNameValidationMode validationMode)
net.sf.acegisecurity.Authentication setGuestUserAsCurrentUser()
boolean guestUserAuthenticationAllowed()
Set<String> getDefaultAdministratorUserNames()
Set<String> getDefaultGuestUserNames()
Copyright © 2005–2017 Alfresco Software. All rights reserved.