mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Exception message changed to fix AWC-467
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2268 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -227,7 +227,7 @@ public class RepositoryAuthenticationDao implements MutableAuthenticationDao
|
||||
NodeRef userRef = getUserOrNull(userName);
|
||||
if (userRef == null)
|
||||
{
|
||||
throw new AuthenticationException("User does not exist: " + userName);
|
||||
throw new AuthenticationException("User name does not exist: " + userName);
|
||||
}
|
||||
Map<QName, Serializable> properties = nodeService.getProperties(userRef);
|
||||
String salt = null; // GUID.generate();
|
||||
@@ -243,7 +243,7 @@ public class RepositoryAuthenticationDao implements MutableAuthenticationDao
|
||||
NodeRef userRef = getUserOrNull(userName);
|
||||
if (userRef == null)
|
||||
{
|
||||
throw new AuthenticationException("User does not exist: " + userName);
|
||||
throw new AuthenticationException("User name does not exist: " + userName);
|
||||
}
|
||||
nodeService.deleteNode(userRef);
|
||||
}
|
||||
|
Reference in New Issue
Block a user