You can try to give the URL to the myConf.conf file if you include it in your 
jar:


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

For some reason that does not seem to work for the unit tests under Maven... 
but it does work for Webstart and command line.

Hope this helps,

Benoit



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

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


-------------------------------------------------------
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