Hi all,
I am trying the Duke's Bank demo. Everything seemed fine until I enable security for EJB tier. I followed instructions in http://docs.jboss.org/jbossas/getting_started/v4/html/dukesbank.html. The demo works until I put "<security-domain>java:/jaas/dukesbank</security-domain>" into jboss.xml (I got a SecuriyException). I did test security only for the Web tier (that is to put above <security-domain> tag into jboss-web.xml) and there was no problem with it.
I used "200/j2ee" for testing. Any modification in ejb-jar.xml is needed?
Please help!
Problem solved.
Some modifications are needed for the ejb-jar.xml. I've just tested by putting some lines such as:
<method-permission>
<role-name>bankCustomer</role-name>
<ejb-name>TxControllerBean</ejb-name>
<method-name>*</method-name>
</method-permission>
Cheers!