You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by an...@apache.org on 2015/03/03 10:06:22 UTC
svn commit: r1663558 -
/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserValidator.java
Author: angela
Date: Tue Mar 3 09:06:21 2015
New Revision: 1663558
URL: http://svn.apache.org/r1663558
Log:
OAK-2563 : Cleanup and document security related error codes (user mgt)
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserValidator.java
Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserValidator.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserValidator.java?rev=1663558&r1=1663557&r2=1663558&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserValidator.java (original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/UserValidator.java Tue Mar 3 09:06:21 2015
@@ -204,10 +204,10 @@ class UserValidator extends DefaultValid
if (isSystemUser) {
if (TreeUtil.getString(tree, REP_PASSWORD) != null) {
- throw constraintViolation(27, "Attempt to set password with system user.");
+ throw constraintViolation(32, "Attempt to set password with system user.");
}
if (tree.hasChild(REP_PWD)) {
- throw constraintViolation(28, "Attempt to add rep:pwd node to a system user.");
+ throw constraintViolation(33, "Attempt to add rep:pwd node to a system user.");
}
}
}