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:
parent
cce02f2eff
commit
e8862a3fb1
|
@ -692,7 +692,7 @@ public class Main
|
||||||
// re-eval the policy now that env is set
|
// re-eval the policy now that env is set
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if ( _activeOptions.contains("policy") )
|
if ( _activeOptions.contains("secure") )
|
||||||
{
|
{
|
||||||
Class jettyPolicy = cl.loadClass( "org.eclipse.jetty.policy.JettyPolicy" );
|
Class jettyPolicy = cl.loadClass( "org.eclipse.jetty.policy.JettyPolicy" );
|
||||||
Constructor c = jettyPolicy.getConstructor( new Class[] { Set.class, Map.class } );
|
Constructor c = jettyPolicy.getConstructor( new Class[] { Set.class, Map.class } );
|
||||||
|
|
|
@ -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-http-$(version).jar ! available org.eclipse.jetty.http.HttpParser
|
||||||
$(jetty.home)/lib/jetty-client-$(version).jar ! available org.eclipse.jetty.client.HttpClient
|
$(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-$(version).jar ! available org.eclipse.jetty.policy.JettyPolicy
|
||||||
$(jetty.home)/lib/security/jetty.policy always
|
$(jetty.home)/lib/security/jetty.policy always
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue