jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r933900 - /jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/User.java
Date Wed, 14 Apr 2010 09:59:54 GMT
Author: angela
Date: Wed Apr 14 09:59:54 2010
New Revision: 933900

URL: http://svn.apache.org/viewvc?rev=933900&view=rev
Log:
JCR-2604 - Improve javadoc of User#getCredentials

Modified:
    jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/User.java

Modified: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/User.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/User.java?rev=933900&r1=933899&r2=933900&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/User.java
(original)
+++ jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/user/User.java
Wed Apr 14 09:59:54 2010
@@ -34,7 +34,10 @@ public interface User extends Authorizab
     boolean isAdmin();
 
     /**
-     * Returns <code>Credentials</code> for this user.
+     * Returns the internal <code>Credentials</code> representation for this
+     * user. This method is expected to be used for validation during the
+     * login process. However, the return value should neither be usable nor
+     * used for {@link javax.jcr.Repository#login}.
      *
      * @return <code>Credentials</code> for this user.
      * @throws javax.jcr.RepositoryException If an error occurs.



Mime
View raw message