You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bill Hughey <bi...@vioma.com> on 2004/08/23 19:40:11 UTC

Using catalina security manager in embedded tomcat application?

Our application has several catalina engines embedded in it and I am trying to determine if it makes sense or is even possible to use the catalina security manager in this setting.  Specifically, what takes the place of the '-security' switch on tomcat in an embedded scenario?

BH
    

Re: Using catalina security manager in embedded tomcat application?

Posted by Jean-Francois Arcand <Je...@Sun.COM>.

Bill Hughey a écrit :
> Our application has several catalina engines embedded in it and I am trying to determine if it makes sense or is even possible to use the catalina security manager in this setting.  Specifically, what takes the place of the '-security' switch on tomcat in an embedded scenario?
> 
> BH

Make sence. SJSAS PE 8.0 ships with Tomcat 5 embedded and security 
turned on. You just need to call:

System.setSecurityManager(....) (see J2SE API docs)

somewhere in your code.

-- Jeanfrancois

> 


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