-
1. Re: custom DatabaseServerLoginModule not working in wildfly 10+
jaikiran Aug 25, 2016 7:40 AM (in response to mandrosen)I don't see anything obviously wrong. Moreover, you say this was working in WildFly 9 and no longer in 10. Can you please create a JIRA and attach the relevant sample application to reproduce this?
-
2. Re: custom DatabaseServerLoginModule not working in wildfly 10+
mandrosen Aug 25, 2016 10:06 AM (in response to jaikiran)I was able to get it working in one of my applications. It turns out the module.xml for the custom login-module had a dependency on org.jboss.common-core which does not exist anymore. The module was also compiled against wildly 9 jars and was able to make use of org.jboss.security.ErrorCodes instead of org.jboss.security.PicketBoxMessages. When I was running it, I was not getting and classpath or classloader issues. I only saw an error when I added an explicit dependency in the jboss-deployment-structure.xml which forced wildfly to load the module at a different time. Essentially, I am not sure any of these issues are bugs.
-
3. Re: custom DatabaseServerLoginModule not working in wildfly 10+
jaikiran Aug 25, 2016 10:09 AM (in response to mandrosen)IMO, there should have been an error reported when a application uses a security domain, which has a login module which fails to load the login module class.
-
4. Re: custom DatabaseServerLoginModule not working in wildfly 10+
mandrosen Aug 25, 2016 11:05 AM (in response to jaikiran)I agree, but I didn't see one. I can try some more tests on a fresh install, but initially, it seems like the errors are suppressed or hidden.