Hello, I have a problem with JBoss5,EJB3 and security. If I add @RolesAllowed attribute to stateless bean and run client I get following exception:
| Exception in thread "main" javax.ejb.EJBAccessException: Caller unauthorized | at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:199) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) | There is no exception on server side. Note that if I use the same code and only change libraries and SecurityDomain class (other package) everything works OK on JBoss 4.2.3. Any ideas? Thanks, Dragan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205218#4205218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205218 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
