Start the tomcat5w.exe and open the configure options.
Open the java tab and add your jvm parameters.
-Djava.security.SecurityManager
-Djava.security.policy==full path to your tomcat/conf/catalina.policy
Two == signs is right to overide the complete policy :-)
Peter
Asim Alp schrieb:
Hello
Hello everyone,
I'm running my Tomcat 5.5.4 as a Windows Service. Is there a way to
put the -security option to the GUI application? I'm trying to get my
service to start with the catalina.policy file for extra security.
Thanks,
Asim
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?
TIA!
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
Kwok Peng Tuck wrote:
Hi list ,
With regards to the security manager in tomcat, is it possible
to ship a policy file with each webapp ?
No it is not. You have to put those permission in catalina.policy.
-- Jeanfrancois
Hi list ,
With regards to the security manager in tomcat, is it possible to
ship a policy file with each webapp ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I know that when Tomcat starts it uses the catalina.policy file. Does anyone
know if it is possible to set a security policy file for individual WebApps?
Thanks
Jim.
PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you
this works on a file-by-file workaround, it means we have
to set the permissions for every jar file, in every context of the
webapps folder in order to enforce the security policy effectively.
As we host different customers uploading different applications,
and different contexts, this makes the security
]
Temat: Security Policy problem
I am creating a Java Applet (running on Internet Explorer web
browser) that
can access a database located in a remote machine (server).
The connection to
the remote database is established using JDBC-ODBC bridge. However, I
encounter java security problem
I am creating a Java Applet (running on Internet Explorer web browser) that
can access a database located in a remote machine (server). The connection to
the remote database is established using JDBC-ODBC bridge. However, I
encounter java security problem that restricted me to access the
10 matches
Mail list logo