jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r828691 - /jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlManager.java
Date Thu, 22 Oct 2009 13:45:56 GMT
Author: angela
Date: Thu Oct 22 13:45:56 2009
New Revision: 828691

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

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

Modified: jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlManager.java?rev=828691&r1=828690&r2=828691&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-api/src/main/java/org/apache/jackrabbit/api/security/JackrabbitAccessControlManager.java
Thu Oct 22 13:45:56 2009
@@ -57,12 +57,15 @@
      * been set. This method reflects the binding state, including transient
      * policy modifications.
      *
-     * @param principal
-     * @return
-     * @throws AccessDeniedException
-     * @throws AccessControlException
-     * @throws UnsupportedRepositoryOperationException
-     * @throws RepositoryException
+     * @param principal A valid principal.
+     * @return The policies defined for the given principal or an empty array.
+     * @throws AccessDeniedException if the session lacks
+     * <code>READ_ACCESS_CONTROL</code> privilege.
+     * @throws AccessControlException  if the specified principal does not exist
+     * or if another access control related exception occurs.
+     * @throws UnsupportedRepositoryOperationException if editing access control
+     * policies by principal is not supported.
+     * @throws RepositoryException If another error occurs.
      */
     JackrabbitAccessControlPolicy[] getPolicies(Principal principal) throws AccessDeniedException,
AccessControlException, UnsupportedRepositoryOperationException, RepositoryException;
 



Mime
View raw message