public interface MutableAuthenticationDao
extends net.sf.acegisecurity.providers.dao.AuthenticationDao, net.sf.acegisecurity.providers.dao.SaltSource
Modifier and Type | Method and Description |
---|---|
void |
createUser(String userName,
char[] rawPassword)
Create a user with the given userName and password
|
void |
createUser(String caseSensitiveUserName,
String hashedPassword,
char[] rawPassword)
Create a user with the given userName and password hash
If hashedPassword is passed in then this is used, otherwise it falls back to using the rawPassword.
|
void |
deleteUser(String userName)
Delete a user.
|
boolean |
getAccountExpires(String userName)
Does the account expire?
|
Date |
getAccountExpiryDate(String userName)
Get the date when this account expires.
|
boolean |
getAccountHasExpired(String userName)
Has the account expired?
|
boolean |
getAccountlocked(String userName)
Deprecated.
|
boolean |
getCredentialsExpire(String userName)
Do the credentials for the user expire?
|
Date |
getCredentialsExpiryDate(String userName)
Get the date when the credentials/password expire.
|
boolean |
getCredentialsHaveExpired(String userName)
Have the credentials for the user expired?
|
boolean |
getEnabled(String userName)
Getter for user enabled
|
boolean |
getLocked(String userName)
Check if the account is locked
|
String |
getMD4HashedPassword(String userName)
Get the MD4 password hash
|
void |
setAccountExpires(String userName,
boolean expires)
Set if the account should expire
|
void |
setAccountExpiryDate(String userName,
Date exipryDate)
Set the date on which the account expires
|
void |
setCredentialsExpire(String userName,
boolean expires)
Set if the password expires.
|
void |
setCredentialsExpiryDate(String userName,
Date exipryDate)
Set the date when credentials expire.
|
void |
setEnabled(String userName,
boolean enabled)
Enable/disable a user.
|
void |
setLocked(String userName,
boolean locked)
Set if the account is locked.
|
void |
updateUser(String userName,
char[] rawPassword)
Update a user's password.
|
boolean |
userExists(String userName)
Check is a user exists.
|
void createUser(String userName, char[] rawPassword) throws org.alfresco.repo.security.authentication.AuthenticationException
org.alfresco.repo.security.authentication.AuthenticationException
void createUser(String caseSensitiveUserName, String hashedPassword, char[] rawPassword) throws org.alfresco.repo.security.authentication.AuthenticationException
org.alfresco.repo.security.authentication.AuthenticationException
void updateUser(String userName, char[] rawPassword) throws org.alfresco.repo.security.authentication.AuthenticationException
org.alfresco.repo.security.authentication.AuthenticationException
void deleteUser(String userName) throws org.alfresco.repo.security.authentication.AuthenticationException
org.alfresco.repo.security.authentication.AuthenticationException
boolean userExists(String userName)
void setEnabled(String userName, boolean enabled)
boolean getEnabled(String userName)
void setAccountExpires(String userName, boolean expires)
boolean getAccountExpires(String userName)
boolean getAccountHasExpired(String userName)
void setCredentialsExpire(String userName, boolean expires)
boolean getCredentialsExpire(String userName)
boolean getCredentialsHaveExpired(String userName)
void setLocked(String userName, boolean locked)
boolean getLocked(String userName)
userName
- the usernameboolean getAccountlocked(String userName)
getLocked(String)
void setAccountExpiryDate(String userName, Date exipryDate)
Date getAccountExpiryDate(String userName)
void setCredentialsExpiryDate(String userName, Date exipryDate)
Date getCredentialsExpiryDate(String userName)
Copyright © 2005–2017 Alfresco Software. All rights reserved.