Hi, I'm having a bit of problem specifying which Login configuration files to use.
I downloaded a bit of sample code from the net, the name of the config file is jaas.config. If I specify the config file on the command line,ie:
java -Djava.security.auth.login.config=jaas.config jaasTest
everything works fine. But if I use the other method for specifying the config files, ie. by modifying the java.security file, it gives me
"java.lang.SecurityException: Unable to locate a login configuration".
This is how my java.security looks like now
*** bla bla bla ***
#
# Default login configuration file
#
#login.config.url.1=file:${user.home}/.java.login.config
login.config.url.1=file:C:/Program Files/IBM/..../JAAS/jaas.config
*** bla bla bla ***
Is there anything I've done wrong here? I much prefer the 2nd method, since later my data would be coming in through a HTML form. Btw, I'm running the java files in WSAD, is there a way of doing this in WSAD? Thanks in advance. T