JBoss Community

Re: @javax.annotation.security.RolesAllowed on EJBs does not work

created by Anil Saldhana in JBoss AS 7 Development - View the full discussion

http://docs.oracle.com/javaee/6/api/javax/annotation/security/RolesAllowed.html

 

It basically defines the roles that a particular method can access.  So your intent is correct.

 

We may have a bug.  Can you ensure that something like @RolesAllowed("BAD")  fails?

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community