Search code examples
javajvmjaas

How to the JVM to use a given jaas.conf file?


How to I setup the JVM to use a given jaas.conf I created as JAAS setup? Maybe there is a JAAS picks up a configuration property which I can set on startup with -D?


Solution

  • -Djava.security.auth.login.config=/yourpathtojaas.conf

    Hope this will help you