|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.security.authentication.RepositoryAuthenticationDao
public class RepositoryAuthenticationDao
Constructor Summary | |
---|---|
RepositoryAuthenticationDao()
|
Method Summary | |
---|---|
void |
createUser(java.lang.String caseSensitiveUserName,
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 userDetails)
|
boolean |
getUserNamesAreCaseSensitive()
|
org.alfresco.service.cmr.repository.NodeRef |
getUserOrNull(java.lang.String searchUserName)
|
net.sf.acegisecurity.UserDetails |
loadUserByUsername(java.lang.String incomingUserName)
|
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 |
setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
|
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 |
setNamespaceService(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver)
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
|
void |
setPasswordEncoder(net.sf.acegisecurity.providers.encoding.PasswordEncoder passwordEncoder)
|
void |
setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
|
void |
setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
|
void |
setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
|
void |
setUserNameMatcher(UserNameMatcher userNameMatcher)
|
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 RepositoryAuthenticationDao()
Method Detail |
---|
public boolean getUserNamesAreCaseSensitive()
public void setUserNameMatcher(UserNameMatcher userNameMatcher)
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
public void setNamespaceService(org.alfresco.service.namespace.NamespacePrefixResolver namespacePrefixResolver)
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
public void setRetryingTransactionHelper(RetryingTransactionHelper retryingTransactionHelper)
public void setTenantService(org.alfresco.repo.tenant.TenantService tenantService)
public void setPasswordEncoder(net.sf.acegisecurity.providers.encoding.PasswordEncoder passwordEncoder)
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
public net.sf.acegisecurity.UserDetails loadUserByUsername(java.lang.String incomingUserName) throws net.sf.acegisecurity.providers.dao.UsernameNotFoundException, org.springframework.dao.DataAccessException
loadUserByUsername
in interface net.sf.acegisecurity.providers.dao.AuthenticationDao
net.sf.acegisecurity.providers.dao.UsernameNotFoundException
org.springframework.dao.DataAccessException
public org.alfresco.service.cmr.repository.NodeRef getUserOrNull(java.lang.String searchUserName)
public void createUser(java.lang.String caseSensitiveUserName, char[] rawPassword) throws org.alfresco.repo.security.authentication.AuthenticationException
MutableAuthenticationDao
createUser
in interface MutableAuthenticationDao
AuthenticationException
public void updateUser(java.lang.String userName, char[] rawPassword) throws org.alfresco.repo.security.authentication.AuthenticationException
MutableAuthenticationDao
updateUser
in interface MutableAuthenticationDao
AuthenticationException
public void deleteUser(java.lang.String userName) throws org.alfresco.repo.security.authentication.AuthenticationException
MutableAuthenticationDao
deleteUser
in interface MutableAuthenticationDao
AuthenticationException
public java.lang.Object getSalt(net.sf.acegisecurity.UserDetails userDetails)
getSalt
in interface net.sf.acegisecurity.providers.dao.SaltSource
public boolean userExists(java.lang.String userName)
MutableAuthenticationDao
userExists
in interface MutableAuthenticationDao
public boolean getAccountExpires(java.lang.String userName)
MutableAuthenticationDao
getAccountExpires
in interface MutableAuthenticationDao
public java.util.Date getAccountExpiryDate(java.lang.String userName)
MutableAuthenticationDao
getAccountExpiryDate
in interface MutableAuthenticationDao
public boolean getAccountHasExpired(java.lang.String userName)
MutableAuthenticationDao
getAccountHasExpired
in interface MutableAuthenticationDao
public boolean getAccountlocked(java.lang.String userName)
MutableAuthenticationDao
getAccountlocked
in interface MutableAuthenticationDao
public boolean getCredentialsExpire(java.lang.String userName)
MutableAuthenticationDao
getCredentialsExpire
in interface MutableAuthenticationDao
public java.util.Date getCredentialsExpiryDate(java.lang.String userName)
MutableAuthenticationDao
getCredentialsExpiryDate
in interface MutableAuthenticationDao
public boolean getCredentialsHaveExpired(java.lang.String userName)
MutableAuthenticationDao
getCredentialsHaveExpired
in interface MutableAuthenticationDao
public boolean getEnabled(java.lang.String userName)
MutableAuthenticationDao
getEnabled
in interface MutableAuthenticationDao
public void setAccountExpires(java.lang.String userName, boolean expires)
MutableAuthenticationDao
setAccountExpires
in interface MutableAuthenticationDao
public void setAccountExpiryDate(java.lang.String userName, java.util.Date exipryDate)
MutableAuthenticationDao
setAccountExpiryDate
in interface MutableAuthenticationDao
public void setCredentialsExpire(java.lang.String userName, boolean expires)
MutableAuthenticationDao
setCredentialsExpire
in interface MutableAuthenticationDao
public void setCredentialsExpiryDate(java.lang.String userName, java.util.Date exipryDate)
MutableAuthenticationDao
setCredentialsExpiryDate
in interface MutableAuthenticationDao
public void setEnabled(java.lang.String userName, boolean enabled)
MutableAuthenticationDao
setEnabled
in interface MutableAuthenticationDao
public void setLocked(java.lang.String userName, boolean locked)
MutableAuthenticationDao
setLocked
in interface MutableAuthenticationDao
public java.lang.String getMD4HashedPassword(java.lang.String userName)
MutableAuthenticationDao
getMD4HashedPassword
in interface MutableAuthenticationDao
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |