cancel
Showing results for 
Search instead for 
Did you mean: 

Reading an env. variable in JAAS login module

Former Member
0 Kudos

Hi All,

I have a JAAS login module wherein I want to add a static block to read certain properties from a file. Is there any property within WAS 6.40 wherein I can set the file path and read it using System.getProperty in my JAAS login module?

I do not want to use the options method. Any other way to approach this problem will be helpful.

regards,

Vishal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

try setting it into jvm as java parameter using the config tool. java parameter should be set for the instance node and the server sub-node under the instance node. use the -D syntax.

i did it for accessing a property file.

Former Member
0 Kudos

Thanks Wenton,

That worked

BTW I only added the JVM property to the server sub-node under the instance node. That solved the issue.

regards,

Vishal