[jboss-cvs] jboss-seam/src/main/org/jboss/seam/interceptors ...
Gavin King
gavin.king at jboss.com
Fri Feb 16 11:58:56 EST 2007
User: gavin
Date: 07/02/16 11:58:56
Modified: src/main/org/jboss/seam/interceptors
SecurityInterceptor.java
Log:
JBSEAM-856
Revision Changes Path
1.29 +2 -2 jboss-seam/src/main/org/jboss/seam/interceptors/SecurityInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SecurityInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/interceptors/SecurityInterceptor.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -b -r1.28 -r1.29
--- SecurityInterceptor.java 13 Feb 2007 06:17:38 -0000 1.28
+++ SecurityInterceptor.java 16 Feb 2007 16:58:56 -0000 1.29
@@ -40,11 +40,11 @@
{
return method.getAnnotation(Restrict.class);
}
- else if ( method.getDeclaringClass().isAnnotationPresent(Restrict.class) )
+ else if ( getComponent().getBeanClass().isAnnotationPresent(Restrict.class) )
{
if ( !getComponent().isLifecycleMethod(method) )
{
- return method.getDeclaringClass().getAnnotation(Restrict.class);
+ return getComponent().getBeanClass().getAnnotation(Restrict.class);
}
}
return null;
More information about the jboss-cvs-commits
mailing list