java.security.auth.login.config=./auth.conf
There are three ways to accomplish this:
Whichever method is used, the path to the auth.conf file must be valid. In the above examples, the file would exist in the directory of execution.
The contents of the auth.conf file are as follows:
// The default client login module configuration that infects the
// EJB transport layer with the application caller
VoyenceControl {
com.powerup.common.security.ClientLoginModule requisite;
// JBoss LoginModule
org.jboss.security.ClientLoginModule requisite password-stacking=true restore-login-identity=true;
};other {
// JBoss LoginModule
org.jboss.security.ClientLoginModule required restore-login-identity=true;
};