Configuring Security for Tomcat Server [message #494977] |
Tue, 03 November 2009 07:45  |
Eclipse User |
|
|
|
Hi,
I wish to configure some security for a tomcat server that I have set up to be managed by eclipse.
When not using eclipse, all I have to do is update the catalina.policy file, and then execute:
catalina start -security,
I am wondering what do I do for eclipse?
I edit the catalina.policy file and then republish. This looks all ok.
I then go to the server overview for the managed tomcat server and selecting: " open launch configuration", followed by the arguments tab.
I then add as VM arguments:
-Djava.security.manager
-Djava.security.policy=" D:\docprod637ws\.metadata\.plugins\org.eclipse.wst.server.co re\tmp0\conf\catalina.policy "
but it doesn't work are my missing something?
|
|
|
Re: Configuring Security for Tomcat Server [message #495085 is a reply to message #494977] |
Tue, 03 November 2009 12:35  |
Eclipse User |
|
|
|
In the server editor Server Options section, you can enable the "Enable
Security" option and those java.security VM arguments will be added
automatically. However, what you have done seems fine. I will need to
know more about what "doesn't work" means to offer additional help.
Cheers,
Larry
breako wrote:
> Hi,
> I wish to configure some security for a tomcat server that I have set up
> to be managed by eclipse.
>
> When not using eclipse, all I have to do is update the catalina.policy
> file, and then execute:
> catalina start -security,
>
> I am wondering what do I do for eclipse?
>
> I edit the catalina.policy file and then republish. This looks all ok.
>
> I then go to the server overview for the managed tomcat server and
> selecting: " open launch configuration", followed by the arguments tab.
>
> I then add as VM arguments:
>
> -Djava.security.manager
> -Djava.security.policy="
> D:\docprod637ws\.metadata\.plugins\org.eclipse.wst.server.co
> re\tmp0\conf\catalina.policy "
>
> but it doesn't work are my missing something?
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02679 seconds