Using: JBoss 7.2
With: EAR containing a login module (inside an embedded EJB jar)
Login module authentication works with:
However this does NOT work:
Caused by:
09:15:25,898 DEBUG [org.jboss.security] (Old I/O server worker (parentId: 2047027234, [id: 0x7a032822, /127.0.0.1:5445])) PBOX000206: Login failure: javax.security.auth.login.LoginException: unable to find LoginModule class: com.apc.security.HelloWorldLoginModule from [Module "org.jboss.as.messaging:main" from local module loader @3df78040 (finder: local module finder @44050988 (roots: /Users/nickymolholm/Work/JBoss7/jboss-as/modules,/Users/nickymolholm/Work/JBoss7/jboss-as/modules/system/layers/base))]
So basically the module cannot see the login module inside the EAR file. That makes sense I guess (...).
My question is: