[jboss-user] [Security & JAAS/JBoss] - Re: EJBAccessException

klejs do-not-reply at jboss.com
Sun Nov 19 08:53:02 EST 2006


I'll answer this one myself. It turns out that, in your jboss.xml file, when using EJB3 you shouldn't use the full JNDI path to point to your seurity domain but just to the name of the security domain.

So instead of:

  | <jboss>
  |    <security-domain>java:/jaas/my_security_domain</security-domain>
  | </jboss>	

It should be:

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

/klejs

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

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



More information about the jboss-user mailing list