I have a custom ear-entry module on jboss. Ear META-INF has jboss-app.xml, which points to login-service.xml, which contains mbean, which points to login-config.xml, which defines a custom login module.
jboss.xml in the ear META-INF uses the same security domain as for the login module in login-config.xml.
When calling EJB in this ear, I don’t see that my custom login module uses login and commit methods, as I saw when I implemented this elsewhere in the past.
I have a log4j trace for org.jboss.security and I don't see anything when making an EJB call. The EJB call is successful, although I am not authenticated.
I cannot understand why my login module is not being called or how to debug the JAAS decision making process. Any ideas? Thank.
source
share