[jboss-cvs] jboss-seam/src/main/org/jboss/seam/annotations/security ...
Gavin King
gavin.king at jboss.com
Mon Feb 12 01:23:06 EST 2007
User: gavin
Date: 07/02/12 01:23:06
Modified: src/main/org/jboss/seam/annotations/security Restrict.java
Log:
javadoc
Revision Changes Path
1.2 +9 -2 jboss-seam/src/main/org/jboss/seam/annotations/security/Restrict.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Restrict.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/security/Restrict.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Restrict.java 4 Dec 2006 01:06:50 -0000 1.1
+++ Restrict.java 12 Feb 2007 06:23:06 -0000 1.2
@@ -16,6 +16,13 @@
@Target({TYPE,METHOD})
@Documented
@Retention(RUNTIME)
-public @interface Restrict {
+public @interface Restrict
+{
+ /**
+ * Restrictions may be expressed using any EL expression, and usually
+ * include the use of s:hasRole(...) or s:hasPermission(..., /..).
+ *
+ * @return An EL expression that defines the restriction to be checked
+ */
String value() default "";
}
More information about the jboss-cvs-commits
mailing list