You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2003/10/02 17:30:45 UTC

cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/ac2 Policy.java

andreas     2003/10/02 08:30:45

  Modified:    src/java/org/apache/lenya/cms/ac2 Policy.java
  Log:
  added isEmpty() method
  
  Revision  Changes    Path
  1.5       +9 -1      cocoon-lenya/src/java/org/apache/lenya/cms/ac2/Policy.java
  
  Index: Policy.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/ac2/Policy.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Policy.java	7 Aug 2003 10:23:27 -0000	1.4
  +++ Policy.java	2 Oct 2003 15:30:45 -0000	1.5
  @@ -80,4 +80,12 @@
        * @throws AccessControlException when something went wrong.
        */
       boolean isSSLProtected() throws AccessControlException;
  +    
  +    /**
  +     * Returns if the policy is empty. A policy is empty if it does
  +     * not contain any credentials.
  +     * @return A boolean value.
  +     * @throws AccessControlException when something went wrong.
  +     */
  +    boolean isEmpty() throws AccessControlException;
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org