|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MutableAuthenticationService
An extended AuthenticationService that allows mutation of some or all of its user accounts.
| Method Summary | |
|---|---|
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 |
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 |
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) |
| Method Detail |
|---|
@Auditable(parameters="userName",
recordable=true)
boolean isAuthenticationMutable(java.lang.String userName)
userName - the user ID
true 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(java.lang.String userName,
char[] password)
throws org.alfresco.repo.security.authentication.AuthenticationException
userName - password -
org.alfresco.repo.security.authentication.AuthenticationException
@Auditable(parameters={"userName", "oldPassword", "newPassword"},
recordable={true, false, false})
void updateAuthentication(java.lang.String userName,
char[] oldPassword,
char[] newPassword)
throws org.alfresco.repo.security.authentication.AuthenticationException
userName - oldPassword - newPassword -
org.alfresco.repo.security.authentication.AuthenticationException
@Auditable(parameters={"userName", "newPassword"},
recordable={true, false})
void setAuthentication(java.lang.String userName,
char[] newPassword)
throws org.alfresco.repo.security.authentication.AuthenticationException
userName - newPassword -
org.alfresco.repo.security.authentication.AuthenticationException
@Auditable(parameters="userName")
void deleteAuthentication(java.lang.String userName)
throws org.alfresco.repo.security.authentication.AuthenticationException
userName -
org.alfresco.repo.security.authentication.AuthenticationException
@Auditable(parameters={"userName", "enabled"})
void setAuthenticationEnabled(java.lang.String userName,
boolean enabled)
throws org.alfresco.repo.security.authentication.AuthenticationException
userName - enabled -
org.alfresco.repo.security.authentication.AuthenticationException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||