Hi,
 Thanks a lot for the above suggestions. I tried out:

anonymous wrote : final String authFile = 
"jar:file:myConf.jar!/com/mycompany/auth.conf";            
  | System.setProperty("java.security.auth.login.config", authFile);

and it worked. I have a constraint that i cannot accept the 
java.security.auth.login.conf as parameter from command line. So i did not go 
for the following approach:

anonymous wrote : java -Djava.security.auth.login.config=conf/auth.conf 
<MAIN_CLASS>    


Thank you, both, for the suggestions



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888359#3888359

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888359


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to