|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableAuthenticationDao
A service provider interface to provide both acegi integration via AuthenticationDao and SaltSource and mutability support for user definitions.
Method Summary | |
---|---|
void |
createUser(java.lang.String userName,
char[] rawPassword)
Create a user with the given userName and password |
void |
deleteUser(java.lang.String userName)
Delete a user. |
boolean |
getAccountExpires(java.lang.String userName)
Does the account expire? |
java.util.Date |
getAccountExpiryDate(java.lang.String userName)
Get the date when this account expires. |
boolean |
getAccountHasExpired(java.lang.String userName)
Has the account expired? |
boolean |
getAccountlocked(java.lang.String userName)
Deprecated. Use MutableAuthenticationDao.getLocked(String) |
boolean |
getCredentialsExpire(java.lang.String userName)
Do the credentials for the user expire? |
java.util.Date |
getCredentialsExpiryDate(java.lang.String userName)
Get the date when the credentials/password expire. |
boolean |
getCredentialsHaveExpired(java.lang.String userName)
Have the credentials for the user expired? |
boolean |
getEnabled(java.lang.String userName)
Getter for user enabled |
boolean |
getLocked(java.lang.String userName)
Check if the account is locked |
java.lang.String |
getMD4HashedPassword(java.lang.String userName)
Get the MD4 password hash |
void |
setAccountExpires(java.lang.String userName,
boolean expires)
Set if the account should expire |
void |
setAccountExpiryDate(java.lang.String userName,
java.util.Date exipryDate)
Set the date on which the account expires |
void |
setCredentialsExpire(java.lang.String userName,
boolean expires)
Set if the password expires. |
void |
setCredentialsExpiryDate(java.lang.String userName,
java.util.Date exipryDate)
Set the date when credentials expire. |
void |
setEnabled(java.lang.String userName,
boolean enabled)
Enable/disable a user. |
void |
setLocked(java.lang.String userName,
boolean locked)
Set if the account is locked. |
void |
updateUser(java.lang.String userName,
char[] rawPassword)
Update a user's password. |
boolean |
userExists(java.lang.String userName)
Check is a user exists. |
Methods inherited from interface net.sf.acegisecurity.providers.dao.AuthenticationDao |
---|
loadUserByUsername |
Methods inherited from interface net.sf.acegisecurity.providers.dao.SaltSource |
---|
getSalt |
Method Detail |
---|
void createUser(java.lang.String userName, char[] rawPassword) throws org.alfresco.repo.security.authentication.AuthenticationException
org.alfresco.repo.security.authentication.AuthenticationException
void updateUser(java.lang.String userName, char[] rawPassword) throws org.alfresco.repo.security.authentication.AuthenticationException
org.alfresco.repo.security.authentication.AuthenticationException
void deleteUser(java.lang.String userName) throws org.alfresco.repo.security.authentication.AuthenticationException
org.alfresco.repo.security.authentication.AuthenticationException
boolean userExists(java.lang.String userName)
void setEnabled(java.lang.String userName, boolean enabled)
boolean getEnabled(java.lang.String userName)
void setAccountExpires(java.lang.String userName, boolean expires)
boolean getAccountExpires(java.lang.String userName)
boolean getAccountHasExpired(java.lang.String userName)
void setCredentialsExpire(java.lang.String userName, boolean expires)
boolean getCredentialsExpire(java.lang.String userName)
boolean getCredentialsHaveExpired(java.lang.String userName)
void setLocked(java.lang.String userName, boolean locked)
boolean getLocked(java.lang.String userName)
userName
- the usernameboolean getAccountlocked(java.lang.String userName)
MutableAuthenticationDao.getLocked(String)
void setAccountExpiryDate(java.lang.String userName, java.util.Date exipryDate)
java.util.Date getAccountExpiryDate(java.lang.String userName)
void setCredentialsExpiryDate(java.lang.String userName, java.util.Date exipryDate)
java.util.Date getCredentialsExpiryDate(java.lang.String userName)
java.lang.String getMD4HashedPassword(java.lang.String userName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |