mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged 5.0.2-CLOUD42 (Cloud ) to 5.1.N (5.1.1)
117256 adavis: Merged 5.0.2-CLOUD (Cloud ) to 5.0.2-CLOUD42 (Cloud ) 114527 adavis: Merged BCRYPT to 5.0.2-CLOUD 114255 gjames: createUser with a password that has already been hashed MNT-14892,RA-601 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.1.N/root@117349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -86,6 +86,19 @@ public class DefaultMutableAuthenticationDao implements MutableAuthenticationDao
|
||||
* @throws AlfrescoRuntimeException if the the operation is not allowed
|
||||
*/
|
||||
public void createUser(String userName, char[] rawPassword) throws AuthenticationException
|
||||
{
|
||||
createUser(userName, null, rawPassword);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
* <p/>
|
||||
* If enabled does nothing
|
||||
*
|
||||
* @throws AlfrescoRuntimeException if the the operation is not allowed
|
||||
*/
|
||||
@Override
|
||||
public void createUser(String caseSensitiveUserName, String hashedpassword, char[] rawPassword) throws AuthenticationException
|
||||
{
|
||||
if (!allowCreateUser)
|
||||
{
|
||||
|
Reference in New Issue
Block a user