@AlfrescoPublicApi public interface MutableAuthenticationService extends AuthenticationService
AuthenticationService that allows mutation of some or all of its user accounts.| Modifier and Type | Method and Description |
|---|---|
void |
createAuthentication(String userName,
char[] password)
Create an authentication for the given user.
|
void |
deleteAuthentication(String userName)
Delete an authentication entry
|
boolean |
isAuthenticationCreationAllowed()
Determines whether authentication creation is allowed.
|
boolean |
isAuthenticationMutable(String userName)
Determines whether this user's authentication may be mutated via the other methods.
|
void |
setAuthentication(String userName,
char[] newPassword)
Set the login information for a user (typically called by an admin user)
|
void |
setAuthenticationEnabled(String userName,
boolean enabled)
Enable or disable an authentication entry
|
void |
updateAuthentication(String userName,
char[] oldPassword,
char[] newPassword)
Update the login information for the user (typically called by the user)
|
authenticate, authenticateAsGuest, authenticationExists, clearCurrentSecurityContext, getAuthenticationEnabled, getCurrentTicket, getCurrentUserName, getDefaultAdministratorUserNames, getDefaultGuestUserNames, getDomains, getDomainsThatAllowUserCreation, getDomainsThatAllowUserDeletion, getDomiansThatAllowUserPasswordChanges, getNewTicket, guestUserAuthenticationAllowed, invalidateTicket, invalidateUserSession, isCurrentUserTheSystemUser, validate@Auditable(parameters="userName",
recordable=true)
boolean isAuthenticationMutable(String userName)
userName - the user IDtrue if this user's authentication may be mutated via the other methods.@Auditable boolean isAuthenticationCreationAllowed()
true if authentication creation is allowed@Auditable(parameters={"userName","password"},
recordable={true,false})
void createAuthentication(String userName,
char[] password)
throws org.alfresco.repo.security.authentication.AuthenticationException
userName - Stringpassword - char[]org.alfresco.repo.security.authentication.AuthenticationException@Auditable(parameters={"userName","oldPassword","newPassword"},
recordable={true,false,false})
void updateAuthentication(String userName,
char[] oldPassword,
char[] newPassword)
throws org.alfresco.repo.security.authentication.AuthenticationException
userName - StringoldPassword - char[]newPassword - char[]org.alfresco.repo.security.authentication.AuthenticationException@Auditable(parameters={"userName","newPassword"},
recordable={true,false})
void setAuthentication(String userName,
char[] newPassword)
throws org.alfresco.repo.security.authentication.AuthenticationException
userName - StringnewPassword - char[]org.alfresco.repo.security.authentication.AuthenticationException@Auditable(parameters="userName") void deleteAuthentication(String userName) throws org.alfresco.repo.security.authentication.AuthenticationException
userName - Stringorg.alfresco.repo.security.authentication.AuthenticationException@Auditable(parameters={"userName","enabled"})
void setAuthenticationEnabled(String userName,
boolean enabled)
throws org.alfresco.repo.security.authentication.AuthenticationException
userName - Stringenabled - booleanorg.alfresco.repo.security.authentication.AuthenticationExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.