This content has been marked as final. Show 1 reply
I am far from being an expert in this, but from my experience what you are missing is the following:
in the file jboss.xml that is in the jar of your EJB, you must have the following node
<jboss> <security-domain>java:/jaas/ABCD</security-domain> <enterprise-beans>
where ABCD should be replaced by you to some meaningful string. This is called the security domain and will probably be needed somewhere else in your code that deals with security (though I can't recall exactly where).