[jboss-cvs] jboss-seam/src/main/org/jboss/seam/interceptors ...
Gavin King
gavin.king at jboss.com
Tue Feb 20 00:42:37 EST 2007
User: gavin
Date: 07/02/20 00:42:37
Modified: src/main/org/jboss/seam/interceptors
SecurityInterceptor.java
Log:
temp fix for breakage due to switch to client-side interceptor
Revision Changes Path
1.32 +3 -1 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.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- SecurityInterceptor.java 16 Feb 2007 18:52:08 -0000 1.31
+++ SecurityInterceptor.java 20 Feb 2007 05:42:37 -0000 1.32
@@ -24,7 +24,9 @@
@AroundInvoke
public Object aroundInvoke(InvocationContext invocation) throws Exception
{
- Method method = invocation.getMethod();
+ Method interfaceMethod = invocation.getMethod();
+ //TODO: optimize this:
+ Method method = getComponent().getBeanClass().getMethod( interfaceMethod.getName(), interfaceMethod.getParameterTypes() );
Restrict restrict = getRestriction(method);
if (restrict != null)
{
More information about the jboss-cvs-commits
mailing list