You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by an...@apache.org on 2009/10/22 15:50:39 UTC

svn commit: r828693 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/principal/PrincipalProvider.java

Author: angela
Date: Thu Oct 22 13:50:39 2009
New Revision: 828693

URL: http://svn.apache.org/viewvc?rev=828693&view=rev
Log:
javadoc

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/principal/PrincipalProvider.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/principal/PrincipalProvider.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/principal/PrincipalProvider.java?rev=828693&r1=828692&r2=828693&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/principal/PrincipalProvider.java (original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/principal/PrincipalProvider.java Thu Oct 22 13:50:39 2009
@@ -110,7 +110,6 @@
     void close();
 
     /**
-     * // TODO: review again.
      * Tests if the provided session is allowed to read the given principal.
      * Since the principal providers do not restrict the access
      * on the prinicipals they provide, this method is used by the PrincipalManger
@@ -118,7 +117,7 @@
      *
      * @param session
      * @param principalToRead The principal to be accessed by the specified subject.
-     * @return <code>true</code> if the subject is allowed to read the principal;
+     * @return <code>true</code> if the session is allowed to read the principal;
      * <code>false</code> otherwise.
      */
     boolean canReadPrincipal(Session session, Principal principalToRead);