I am trying to make as little changes to the default setup configuration of JBOSS when deploying my application. It would be nice if everything I needed was somehow in the .EAR file. Currently, I place my custom login module in the "lib" directory so that JBOSS can find it on startup.
Can the following be done?:
1. Package my custom login module in my .EAR 2. Avoid having to update login-config.xml in the conf directory, yet somehow deploy my custom login module when the my .EAR is deployed.
Is there to do both of these, or at least 1? Could I somehow do this using an .SAR that I could deploy from my .EAR to install the login module?