Author: shane.bryzak(a)jboss.com
Date: 2009-03-10 05:05:42 -0400 (Tue, 10 Mar 2009)
New Revision: 10137
Modified:
trunk/src/main/org/jboss/seam/security/SecurityInterceptor.java
Log:
JBSEAM-4003
Modified: trunk/src/main/org/jboss/seam/security/SecurityInterceptor.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/SecurityInterceptor.java 2009-03-09 22:17:26
UTC (rev 10136)
+++ trunk/src/main/org/jboss/seam/security/SecurityInterceptor.java 2009-03-10 09:05:42
UTC (rev 10137)
@@ -154,9 +154,11 @@
{
Method interfaceMethod = invocation.getMethod();
- Restriction restriction = getRestriction(interfaceMethod);
-
- if ( restriction != null ) restriction.check(invocation.getParameters());
+ if (!"hashCode".equals(interfaceMethod.getName()))
+ {
+ Restriction restriction = getRestriction(interfaceMethod);
+ if ( restriction != null ) restriction.check(invocation.getParameters());
+ }
return invocation.proceed();
}
Show replies by date