|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.security.authentication.ntlm.NullMutableAuthenticationDao
public class NullMutableAuthenticationDao
Null Mutable Authentication Dao Class
Mutable authentication implementation that does nothing.
| Constructor Summary | |
|---|---|
NullMutableAuthenticationDao()
|
|
| 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)
Is the account locked? |
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 |
java.lang.String |
getMD4HashedPassword(java.lang.String userName)
Get the MD4 password hash |
java.lang.Object |
getSalt(net.sf.acegisecurity.UserDetails user)
Return salt for user |
net.sf.acegisecurity.UserDetails |
loadUserByUsername(java.lang.String arg0)
Return the user details for the specified user |
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 |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Method kept just for backward compatibility with older configurations that might have been passing in a value. |
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullMutableAuthenticationDao()
| Method Detail |
|---|
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService - ignored
public void createUser(java.lang.String userName,
char[] rawPassword)
throws org.alfresco.repo.security.authentication.AuthenticationException
createUser in interface MutableAuthenticationDaouserName - rawPassword -
org.alfresco.repo.security.authentication.AuthenticationException
AuthenticationException
public void updateUser(java.lang.String userName,
char[] rawPassword)
throws org.alfresco.repo.security.authentication.AuthenticationException
updateUser in interface MutableAuthenticationDaouserName - rawPassword -
org.alfresco.repo.security.authentication.AuthenticationException
AuthenticationException
public void deleteUser(java.lang.String userName)
throws org.alfresco.repo.security.authentication.AuthenticationException
deleteUser in interface MutableAuthenticationDaouserName -
org.alfresco.repo.security.authentication.AuthenticationException
AuthenticationExceptionpublic boolean userExists(java.lang.String userName)
userExists in interface MutableAuthenticationDaouserName -
public void setEnabled(java.lang.String userName,
boolean enabled)
setEnabled in interface MutableAuthenticationDaouserName - enabled - public boolean getEnabled(java.lang.String userName)
getEnabled in interface MutableAuthenticationDaouserName -
public void setAccountExpires(java.lang.String userName,
boolean expires)
setAccountExpires in interface MutableAuthenticationDaouserName - expires - public boolean getAccountExpires(java.lang.String userName)
getAccountExpires in interface MutableAuthenticationDaouserName -
public boolean getAccountHasExpired(java.lang.String userName)
getAccountHasExpired in interface MutableAuthenticationDaouserName -
public void setCredentialsExpire(java.lang.String userName,
boolean expires)
setCredentialsExpire in interface MutableAuthenticationDaouserName - expires - public boolean getCredentialsExpire(java.lang.String userName)
getCredentialsExpire in interface MutableAuthenticationDaouserName -
public boolean getCredentialsHaveExpired(java.lang.String userName)
getCredentialsHaveExpired in interface MutableAuthenticationDaouserName -
public void setLocked(java.lang.String userName,
boolean locked)
setLocked in interface MutableAuthenticationDaouserName - locked - public boolean getAccountlocked(java.lang.String userName)
getAccountlocked in interface MutableAuthenticationDaouserName -
public void setAccountExpiryDate(java.lang.String userName,
java.util.Date exipryDate)
setAccountExpiryDate in interface MutableAuthenticationDaouserName - exipryDate - public java.util.Date getAccountExpiryDate(java.lang.String userName)
getAccountExpiryDate in interface MutableAuthenticationDaouserName -
public void setCredentialsExpiryDate(java.lang.String userName,
java.util.Date exipryDate)
setCredentialsExpiryDate in interface MutableAuthenticationDaouserName - exipryDate - public java.util.Date getCredentialsExpiryDate(java.lang.String userName)
getCredentialsExpiryDate in interface MutableAuthenticationDaouserName -
public java.lang.String getMD4HashedPassword(java.lang.String userName)
getMD4HashedPassword in interface MutableAuthenticationDaouserName -
public net.sf.acegisecurity.UserDetails loadUserByUsername(java.lang.String arg0)
throws net.sf.acegisecurity.providers.dao.UsernameNotFoundException,
org.springframework.dao.DataAccessException
loadUserByUsername in interface net.sf.acegisecurity.providers.dao.AuthenticationDaouser - String
net.sf.acegisecurity.providers.dao.UsernameNotFoundException
org.springframework.dao.DataAccessExceptionpublic java.lang.Object getSalt(net.sf.acegisecurity.UserDetails user)
getSalt in interface net.sf.acegisecurity.providers.dao.SaltSourceuser - UserDetails
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||