[seam-commits] Seam SVN: r7930 - trunk/src/main/org/jboss/seam.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Apr 14 00:11:00 EDT 2008


Author: shane.bryzak at jboss.com
Date: 2008-04-14 00:11:00 -0400 (Mon, 14 Apr 2008)
New Revision: 7930

Modified:
   trunk/src/main/org/jboss/seam/Component.java
Log:
annotation name changed

Modified: trunk/src/main/org/jboss/seam/Component.java
===================================================================
--- trunk/src/main/org/jboss/seam/Component.java	2008-04-14 04:03:34 UTC (rev 7929)
+++ trunk/src/main/org/jboss/seam/Component.java	2008-04-14 04:11:00 UTC (rev 7930)
@@ -82,7 +82,7 @@
 import org.jboss.seam.annotations.faces.Validator;
 import org.jboss.seam.annotations.intercept.InterceptorType;
 import org.jboss.seam.annotations.intercept.Interceptors;
-import org.jboss.seam.annotations.security.PermissionAction;
+import org.jboss.seam.annotations.security.PermissionCheck;
 import org.jboss.seam.annotations.security.Restrict;
 import org.jboss.seam.annotations.web.RequestParameter;
 import org.jboss.seam.async.AsynchronousInterceptor;
@@ -1085,7 +1085,7 @@
          {
             for (Annotation annotation : method.getAnnotations())
             {
-               if (annotation.annotationType().isAnnotationPresent(PermissionAction.class))
+               if (annotation.annotationType().isAnnotationPresent(PermissionCheck.class))
                {
                   secure = true;
                   break;




More information about the seam-commits mailing list