public class MutableAuthenticationServiceImpl extends AuthenticationServiceImpl implements MutableAuthenticationService
MutableAuthenticationService.GUEST_AUTHENTICATION_NOT_SUPPORTED| Constructor and Description |
|---|
MutableAuthenticationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticationExists(java.lang.String userName)
Check if the given authentication exists.
|
void |
createAuthentication(java.lang.String userName,
char[] password)
Create an authentication for the given user.
|
void |
deleteAuthentication(java.lang.String userName)
Delete an authentication entry
|
boolean |
getAuthenticationEnabled(java.lang.String userName)
Is an authentication enabled or disabled?
|
boolean |
isAuthenticationCreationAllowed()
Determines whether authentication creation is allowed.
|
boolean |
isAuthenticationMutable(java.lang.String userName)
Determines whether this user's authentication may be mutated via the other methods.
|
void |
setAuthentication(java.lang.String userName,
char[] newPassword)
Set the login information for a user (typically called by an admin user)
|
void |
setAuthenticationDao(MutableAuthenticationDao authenticationDao)
Sets the authentication dao.
|
void |
setAuthenticationEnabled(java.lang.String userName,
boolean enabled)
Enable or disable an authentication entry
|
void |
updateAuthentication(java.lang.String userName,
char[] oldPassword,
char[] newPassword)
Update the login information for the user (typically called by the user)
|
authenticate, authenticateAsGuest, clearCurrentSecurityContext, countTickets, getAllowsUserCreation, getAllowsUserDeletion, getAllowsUserPasswordChange, getCurrentTicket, getCurrentUserName, getDefaultAdministratorUserNames, getDefaultGuestUserNames, getDomain, getDomains, getDomainsThatAllowUserCreation, getDomainsThatAllowUserDeletion, getDomiansThatAllowUserPasswordChanges, getNewTicket, getTicketComponents, getUsersWithTickets, guestUserAuthenticationAllowed, invalidateTicket, invalidateTickets, invalidateUserSession, isActive, isCurrentUserTheSystemUser, setAllowsUserCreation, setAllowsUserDeletion, setAllowsUserPasswordChange, setAuthenticationComponent, setDomain, setTicketComponent, validategetAllowedUsers, getMaxUsers, preAuthenticationCheck, setSysAdminParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthenticate, authenticateAsGuest, clearCurrentSecurityContext, getCurrentTicket, getCurrentUserName, getDefaultAdministratorUserNames, getDefaultGuestUserNames, getDomains, getDomainsThatAllowUserCreation, getDomainsThatAllowUserDeletion, getDomiansThatAllowUserPasswordChanges, getNewTicket, guestUserAuthenticationAllowed, invalidateTicket, invalidateUserSession, isCurrentUserTheSystemUser, validatepublic void setAuthenticationDao(MutableAuthenticationDao authenticationDao)
authenticationDao - the authentication daopublic void createAuthentication(java.lang.String userName,
char[] password)
throws org.alfresco.repo.security.authentication.AuthenticationException
MutableAuthenticationServicecreateAuthentication in interface MutableAuthenticationServiceorg.alfresco.repo.security.authentication.AuthenticationExceptionpublic void updateAuthentication(java.lang.String userName,
char[] oldPassword,
char[] newPassword)
throws org.alfresco.repo.security.authentication.AuthenticationException
MutableAuthenticationServiceupdateAuthentication in interface MutableAuthenticationServiceorg.alfresco.repo.security.authentication.AuthenticationExceptionpublic void setAuthentication(java.lang.String userName,
char[] newPassword)
throws org.alfresco.repo.security.authentication.AuthenticationException
MutableAuthenticationServicesetAuthentication in interface MutableAuthenticationServiceorg.alfresco.repo.security.authentication.AuthenticationExceptionpublic void deleteAuthentication(java.lang.String userName)
throws org.alfresco.repo.security.authentication.AuthenticationException
MutableAuthenticationServicedeleteAuthentication in interface MutableAuthenticationServiceorg.alfresco.repo.security.authentication.AuthenticationExceptionpublic boolean getAuthenticationEnabled(java.lang.String userName)
throws org.alfresco.repo.security.authentication.AuthenticationException
AuthenticationServiceImplgetAuthenticationEnabled in interface AuthenticationServicegetAuthenticationEnabled in class AuthenticationServiceImplorg.alfresco.repo.security.authentication.AuthenticationExceptionpublic void setAuthenticationEnabled(java.lang.String userName,
boolean enabled)
throws org.alfresco.repo.security.authentication.AuthenticationException
MutableAuthenticationServicesetAuthenticationEnabled in interface MutableAuthenticationServiceorg.alfresco.repo.security.authentication.AuthenticationExceptionpublic boolean authenticationExists(java.lang.String userName)
AuthenticationServiceImplauthenticationExists in interface AuthenticationServiceauthenticationExists in class AuthenticationServiceImpluserName - the usernamepublic boolean isAuthenticationMutable(java.lang.String userName)
MutableAuthenticationServiceisAuthenticationMutable in interface MutableAuthenticationServiceuserName - the user IDtrue if this user's authentication may be mutated via the other methods.public boolean isAuthenticationCreationAllowed()
MutableAuthenticationServiceisAuthenticationCreationAllowed in interface MutableAuthenticationServicetrue if authentication creation is allowedCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.