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 2004/08/16 10:18:16 UTC
cvs commit: cocoon-lenya/src/java/org/apache/lenya/ac/impl URLPolicy.java
andreas 2004/08/16 01:18:16
Modified: src/java/org/apache/lenya/ac/impl URLPolicy.java
Log:
- fixed javadocs
- fixed access modidifier of static fields
Revision Changes Path
1.8 +7 -4 cocoon-lenya/src/java/org/apache/lenya/ac/impl/URLPolicy.java
Index: URLPolicy.java
===================================================================
RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/ac/impl/URLPolicy.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- URLPolicy.java 28 Apr 2004 16:19:09 -0000 1.7
+++ URLPolicy.java 16 Aug 2004 08:18:15 -0000 1.8
@@ -68,9 +68,9 @@
}
}
- protected static final String[] VISITOR_ROLES = { "visitor", "visit" };
- protected static final String[] ADMINISTRATOR_ROLES = { "administrator", "admin", "organize" };
- protected static final String[] AUTHOR_ROLES = { "author", "edit" };
+ static final String[] VISITOR_ROLES = { "visitor", "visit" };
+ static final String[] ADMINISTRATOR_ROLES = { "administrator", "admin", "organize" };
+ static final String[] AUTHOR_ROLES = { "author", "edit" };
/**
* @see org.apache.lenya.ac.Policy#getRoles(org.apache.lenya.ac.Identity)
@@ -95,6 +95,7 @@
/**
* Returns the visitor role.
+ * @param manager The accreditable manager.
* @return A role.
* @throws AccessControlException when something went wrong.
*/
@@ -111,6 +112,7 @@
/**
* Returns the administrator role.
+ * @param manager The accreditable manager.
* @return A role.
* @throws AccessControlException when something went wrong.
*/
@@ -127,6 +129,7 @@
/**
* Returns the author role.
+ * @param manager The accreditable manager.
* @return A role.
* @throws AccessControlException when something went wrong.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org