svn commit: r562875 - /lenya/trunk/src/modules-core/usecase/java/src/org/apache/lenya/cms/ac/usecase/UsecaseAuthorizer.java

[email protected]
Newsgroups gmane.comp.cms.lenya.cvs
Message-ID <[email protected]>
Author: nettings
Date: Sun Aug  5 07:48:31 2007
New Revision: 562875

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

Modified:
    lenya/trunk/src/modules-core/usecase/java/src/org/apache/lenya/cms/ac/usecase/UsecaseAuthorizer.java

Modified: lenya/trunk/src/modules-core/usecase/java/src/org/apache/lenya/cms/ac/usecase/UsecaseAuthorizer.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules-core/usecase/java/src/org/apache/lenya/cms/ac/usecase/UsecaseAuthorizer.java?view=diff&rev=562875&r1=562874&r2=562875
==============================================================================
--- lenya/trunk/src/modules-core/usecase/java/src/org/apache/lenya/cms/ac/usecase/UsecaseAuthorizer.java (original)
+++ lenya/trunk/src/modules-core/usecase/java/src/org/apache/lenya/cms/ac/usecase/UsecaseAuthorizer.java Sun Aug  5 07:48:31 2007
@@ -30,7 +30,7 @@
 public interface UsecaseAuthorizer extends Authorizer {
 
     /**
-     * Authorizes a usecase.
+     * Authorizes a usecase by considering all roles of the current identity
      * 
      * @param usecase The usecase ID.
      * @param roles The roles of the current identity.
@@ -42,6 +42,8 @@
             throws AccessControlException;
 
     /**
+     * Grants or denies a usecase to a role
+     *
      * @param usecase The usecase.
      * @param publication The publication.
      * @param role The role.
@@ -52,6 +54,8 @@
             throws AccessControlException;
 
     /**
+     * Checks whether the specified role is permitted to invoke a given usecase
+     *
      * @param usecase The usecase.
      * @param publication The publication.
      * @param role The role.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.