Login Configuration: alternative way
Hi,
I just started reading info about JAAS to integrate it into my current project. So to have an inside view of how it works, I decide to write my own Configuration class. Instead of using standard files, I want to use XML files. That will also allow me to learn about XML and JDOM.
But so far, I am not able to make the JRE understand that I don't want to use the ConfigFile class but mine.
I tried: java -Dlogin.configuration.provider=com.mainpass.security.auth.login.XMLConfiguration com.mainpass.security.auth.login.XMLConfigurationTest
I get an error threw by ConfigFile. That class should not be used.
I also modified the file java.security in C:\java\jdk\j2sdk1.4.0\jre\lib\security but no luck.
TIA
Jerome

