[jboss-user] [Security & JAAS/JBoss] - Re: @RolesAllowed ignored?

jaikiran do-not-reply at jboss.com
Wed Sep 12 02:29:05 EDT 2007

Did you specify the security domain either as a annotation or in the jboss.xml? You can do that either through an annotation

  | @SecurityDomain("mypolicy")
  | @RolesAllowed({"authenticated"})
  | @Stateless
  | @Remote({AccountRDAO.class})
  | public class AccountRDAOAction extends RDAOAction
  |     implements AccountRDAO, Serializable

or through jboss.xml:

  |  <security-domain>mypolicy</security-domain>
  | </jboss>

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083281

More information about the jboss-user mailing list