[jboss-dev-forums] [JBoss AS 7 Development] - Re: @javax.annotation.security.RolesAllowed on EJBs does not work

Anil Saldhana do-not-reply at jboss.com
Fri Jan 20 14:19:30 EST 2012


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/RolesAllowed.html 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
[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&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120120/1925467c/attachment.html 


More information about the jboss-dev-forums mailing list