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:
Kevin Roast
2006-01-31 18:48:07 +00:00
parent 5623299943
commit 7d02526c34

View File

@@ -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);
}