Anil Saldhana [
https://community.jboss.org/people/anil.saldhana] created the discussion
"Re: @javax.annotation.security.RolesAllowed on EJBs does not work"
To view the discussion, visit:
https://community.jboss.org/message/647929#647929
--------------------------------------------------------------
http://docs.oracle.com/javaee/6/api/javax/annotation/security/RolesAllowe...
http://docs.oracle.com/javaee/6/api/javax/annotation/security/RolesAllowe...
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
[
https://community.jboss.org/message/647929#647929]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]