We have a custom login module (well, actually, several) for our application. We recently switched to Weblogic from OC4J, where we used this configuration in system-jazn-data.xml.
We have our authentication for the correct operation, however, in order to use the JAAS module, we need to configure the java launch parameter pointing to the jaas.config file:
-Djava.security.auth.login.config=/path/to/jaas.config
File contents:
DatabaseAuthentication { uk.co.corelogic.framework.security.auth.module.RDBMSLoginModule optional debug=false; };
My question is, is there any other way to do this?
The problem is that I'm trying to remove any external dependencies from the ear of the application so that it can be deployed with the default setting without having to create files on the application server.
I looked everywhere, but all the instructions I found say to specify an external file. This is a terribly simple configuration bit - can it be placed in deployment descriptor files anywhere?
There are other things that I need to change, but they require separate questions :)
source share