I have a factory method that is restricted, like this:

    @Out(required=false) List<User> userList;
  |     
  |     @Factory("userList")
  |     @Restrict("#{s:hasRole('admin')}") 
  |     public void listUsers() {
  | 

This is the first time I have tried using @Restricted, so it's not like other 
@Restricted clauses are working.  No, the first one isn't working.

When I try to access the userList, I get a big nasty exception:

Caused by: java.lang.NoClassDefFoundError: com/sun/el/ExpressionFactoryImpl
  |         at 
org.jboss.seam.util.UnifiedELValueBinding.<init>(UnifiedELValueBinding.java:18)
  |         at 
org.jboss.seam.security.Identity.evaluateExpression(Identity.java:506)
  |         at 
org.jboss.seam.security.Identity.checkRestriction(Identity.java:149)
  |         at 
org.jboss.seam.interceptors.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:35
  | 

It must be something simple: a jar in the wrong place, something like that.

Any ideas?

Thanks


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068600#4068600

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068600
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to