Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

JAAS problem ???

Eric Chow

2004-05-30


Hello,

When I startup Tomcat with -Djava.security.auth.login.config=mylogin.config,
I can use JAAS in JSP and Servlet.

But if I did not use the -Dxxxx options, and use
System.setProperty("java.security.auth.login.config",
"/somepath/mylogin.config");


It failed to locate the login module ??????

Can I set the "java.security.auth.login.config" in run-time ???

Eric

==========================
If you know what you are doing,
it is not called RESEARCH!
==========================


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.