I forgot to mention - I do reference the container name for that specific EJB for which I am trying to override the security domain. Basically I extended the container configuration from standardjboss.xml and tried to override the security domain.
Post the full configuration.
Try enabled debug in log4j.xml to see if
you can see anything obvious during deployment
Here is the snippet of jboss.xml
--- some more stuff ---
<container-configuration extends="Standard Stateless SessionBean">
Actually the security domain I was trying to override with was the default client-login just for testing purposes - org.jboss.security.ClientLoginModule.
Looking at jboss.log, I noticed the statement:
2003-06-19 22:23:08,221 DEBUG [org.jboss.ejb.StatelessSessionContainer] Binding securityDomain: java:/jaas/SecDomainX to JDNI ENC as: security/security-domain
Anyway, I just want to suppress authentication for one of the stateless session beans to implement a business logic.
That looks correct at first glance.
Can you post an example application,
you haven't included ejb-jar.xml
If you want to avoid security for a bean
I would suggest configuring per bean
rather than per deployment.