-
1. Re: DynamicLoginConfig problems
sradford Dec 24, 2004 9:32 AM (in response to sradford)I guess I should add that both my ears have different loader-repositories specified via their jboss-app.xml file.
-
2. Re: DynamicLoginConfig problems
starksm64 Dec 24, 2004 10:19 AM (in response to sradford)Presumably the second ear has no visibility to the ServerLoginModule due to the scoping then. Enable trace level logging on the security category org.jboss.security (http://www.jboss.org/wiki/Wiki.jsp?page=Logging) to better see what is failing. The sar setting up the shared security domain clearly should not be within a scoped ear.
-
3. Re: DynamicLoginConfig problems
sradford Dec 29, 2004 6:38 AM (in response to sradford)I have worked out that the following was happening.
- The xxxRealm was being 'found' from with ear2
- The ServerLoginModule for the xxxRealm was then causing an class not found exception (it dynamically loads classes, and the one it required was only in ear1).
- This exception was then being swallowed and the principal=null exception thrown.
Sean