switch policy start option to secure

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@491 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jesse McConnell 2009-07-07 18:11:58 +00:00
parent cce02f2eff
commit e8862a3fb1
2 changed files with 2 additions and 2 deletions

View File

@ -692,7 +692,7 @@ public class Main
// re-eval the policy now that env is set
try
{
if ( _activeOptions.contains("policy") )
if ( _activeOptions.contains("secure") )
{
Class jettyPolicy = cl.loadClass( "org.eclipse.jetty.policy.JettyPolicy" );
Constructor c = jettyPolicy.getConstructor( new Class[] { Set.class, Map.class } );

View File

@ -144,7 +144,7 @@ $(jetty.home)/lib/jetty-annotations/**
$(jetty.home)/lib/jetty-http-$(version).jar ! available org.eclipse.jetty.http.HttpParser
$(jetty.home)/lib/jetty-client-$(version).jar ! available org.eclipse.jetty.client.HttpClient
[All,policy]
[All,secure]
$(jetty.home)/lib/security/jetty-policy-$(version).jar ! available org.eclipse.jetty.policy.JettyPolicy
$(jetty.home)/lib/security/jetty.policy always