Hi,

>I want to be able to make changes to my catalina.policy and to apply
>those changes without restarting Tomcat. Is this possible, and how
would
>I go about it?

This is not a tomcat issue, but rather a general java one.  The
SecurityManager reads the policy file once, upon its construction.  So
you can't reset it or anything.  However, you can construct a new one
and call System.setSecurityManager with your new one.  So the overall
answer to your question is yes, but you need to write a bit of code,
e.g. a servlet, to do it.

The above is only AFAIK, I haven't played around with this in a very
long time (a couple of major java releases), so it could be wrong, out
of date, or both ;)

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to