tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: Security properties (JAAS)
Date Mon, 10 Nov 2003 21:36:43 GMT
On 11/10/2003 02:32 PM Marcel Stor wrote:
> One of the libraries I use (actually my own ;-)) uses JAAS. If I ran a
> JAAS application on the destop I could simply use
> -Djava.security.policy=jaas.policy
> Djava.security.auth.login.config=jaas.conf. With Tomcat, however, I can
> hardly set those parameters in the start script as other applications
> might require different seetings. Where should I define those
> parameters?

There is only one place to set it per JVM. You have to use the -D option 
  to affect the tomcat startup scripts.

> IMHO I can set java.security.auth.login.config in the code, right? This
> is prohibited for the policy file, though??

You can set up JDK logging by coding but I don't know about the policy 
file.


Adam
-- 
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message