Eliminating final protonego references
This commit is contained in:
parent
30dda86b20
commit
f7b9206b2e
|
@ -14,7 +14,7 @@
|
|||
|
||||
<Call name="addConnectionFactory">
|
||||
<Arg>
|
||||
<New id="protonego" class="org.eclipse.jetty.alpn.server.ALPNServerConnectionFactory">
|
||||
<New id="alpn" class="org.eclipse.jetty.alpn.server.ALPNServerConnectionFactory">
|
||||
<Arg type="String">
|
||||
<Property name="alpn.protocols" default="" />
|
||||
</Arg>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.2.v20141202|lib/alpn/alpn-boot-8.1.2.v20141202.jar
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.3.v20150130|lib/alpn/alpn-boot-8.1.3.v20150130.jar
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# This modification has a tight dependency on specific recent updates of
|
||||
# Java 1.7 and Java 1.8 (Java versions prior to 1.7u40 are not supported).
|
||||
#
|
||||
# The alpn protonego module will use an appropriate alpn-boot jar for your
|
||||
# The alpn module will use an appropriate alpn-boot jar for your
|
||||
# specific version of Java.
|
||||
#
|
||||
# IMPORTANT: Versions of Java that exist after this module was created are
|
||||
|
|
|
@ -84,55 +84,54 @@ public class ModulesTest
|
|||
}
|
||||
|
||||
List<String> expected = new ArrayList<>();
|
||||
expected.add("jmx");
|
||||
expected.add("client");
|
||||
expected.add("alpn");
|
||||
expected.add("annotations");
|
||||
expected.add("cdi");
|
||||
expected.add("client");
|
||||
expected.add("continuation");
|
||||
expected.add("debug");
|
||||
expected.add("deploy");
|
||||
expected.add("ext");
|
||||
expected.add("fcgi");
|
||||
expected.add("gzip");
|
||||
expected.add("hawtio");
|
||||
expected.add("home-base-warning");
|
||||
expected.add("http");
|
||||
expected.add("http2");
|
||||
expected.add("https");
|
||||
expected.add("ipaccess");
|
||||
expected.add("jaas");
|
||||
expected.add("jamon");
|
||||
expected.add("jaspi");
|
||||
expected.add("jminix");
|
||||
expected.add("jmx");
|
||||
expected.add("jmx-remote");
|
||||
expected.add("jndi");
|
||||
expected.add("jolokia");
|
||||
expected.add("jsp");
|
||||
expected.add("jstl");
|
||||
expected.add("jvm");
|
||||
expected.add("logging");
|
||||
expected.add("lowresources");
|
||||
expected.add("monitor");
|
||||
expected.add("plus");
|
||||
expected.add("proxy");
|
||||
expected.add("quickstart");
|
||||
expected.add("requestlog");
|
||||
expected.add("resources");
|
||||
expected.add("rewrite");
|
||||
expected.add("security");
|
||||
expected.add("server");
|
||||
expected.add("servlet");
|
||||
expected.add("servlets");
|
||||
expected.add("setuid");
|
||||
expected.add("spring");
|
||||
expected.add("home-base-warning");
|
||||
expected.add("http2");
|
||||
expected.add("fcgi");
|
||||
expected.add("stats");
|
||||
expected.add("deploy");
|
||||
expected.add("debug");
|
||||
expected.add("security");
|
||||
expected.add("ext");
|
||||
expected.add("websocket");
|
||||
expected.add("rewrite");
|
||||
expected.add("ipaccess");
|
||||
expected.add("xinetd");
|
||||
expected.add("proxy");
|
||||
expected.add("webapp");
|
||||
expected.add("jndi");
|
||||
expected.add("lowresources");
|
||||
expected.add("https");
|
||||
expected.add("plus");
|
||||
expected.add("requestlog");
|
||||
expected.add("jsp");
|
||||
// (only present if enabled) expected.add("jsp-impl");
|
||||
expected.add("monitor");
|
||||
expected.add("ssl");
|
||||
expected.add("protonego");
|
||||
expected.add("servlet");
|
||||
expected.add("jaas");
|
||||
expected.add("http");
|
||||
expected.add("server");
|
||||
expected.add("annotations");
|
||||
expected.add("resources");
|
||||
expected.add("logging");
|
||||
|
||||
expected.add("stats");
|
||||
expected.add("webapp");
|
||||
expected.add("websocket");
|
||||
expected.add("xinetd");
|
||||
|
||||
ConfigurationAssert.assertContainsUnordered("All Modules",expected,moduleNames);
|
||||
}
|
||||
|
||||
|
|
|
@ -53,8 +53,8 @@ public class TestBadUseCases
|
|||
null});
|
||||
|
||||
ret.add(new Object[]{ "http2",
|
||||
"Missing referenced dependency: protonego-impl/alpn-1.7.0_01",
|
||||
new String[]{"java.version=1.7.0_01", "protonego=alpn"}});
|
||||
"Missing referenced dependency: alpn-impl/alpn-1.7.0_01",
|
||||
new String[]{"java.version=1.7.0_01"}});
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -3,9 +3,9 @@ XML|${jetty.base}/etc/home-base-warning.xml
|
|||
XML|${jetty.base}/etc/jetty.xml
|
||||
XML|${jetty.base}/etc/jetty-http.xml
|
||||
XML|${jetty.base}/etc/jetty-ssl.xml
|
||||
XML|${jetty.base}/etc/protonego-alpn.xml
|
||||
XML|${jetty.base}/etc/jetty-http2.xml
|
||||
XML|${jetty.base}/etc/jetty-alpn.xml
|
||||
XML|${jetty.base}/etc/jetty-deploy.xml
|
||||
XML|${jetty.base}/etc/jetty-http2.xml
|
||||
XML|${jetty.base}/etc/jetty-plus.xml
|
||||
XML|${jetty.base}/etc/jetty-annotations.xml
|
||||
|
||||
|
@ -57,7 +57,6 @@ PROP|jetty.keystore.password=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
|
|||
PROP|jetty.secure.port=8443
|
||||
PROP|jetty.truststore=etc/keystore
|
||||
PROP|jetty.truststore.password=OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4
|
||||
PROP|protonego=alpn
|
||||
PROP|ssl.port=8443
|
||||
PROP|ssl.timeout=30000
|
||||
# (these are the ones set by default from jetty.home modules)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.0.v20141016|lib/alpn/alpn-boot-7.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.2.v20141202|lib/alpn/alpn-boot-7.1.2.v20141202.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/7.1.3.v20150130|lib/alpn/alpn-boot-7.1.3.v20150130.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.0.v20141016|lib/alpn/alpn-boot-8.1.0.v20141016.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.2.v20141202|lib/alpn/alpn-boot-8.1.2.v20141202.jar
|
|
@ -1,5 +1,5 @@
|
|||
[name]
|
||||
protonego-boot
|
||||
alpn-boot
|
||||
|
||||
[files]
|
||||
maven://org.mortbay.jetty.alpn/alpn-boot/8.1.3.v20150130|lib/alpn/alpn-boot-8.1.3.v20150130.jar
|
|
@ -1,11 +1,10 @@
|
|||
# ALPN is provided via a -Xbootclasspath that modifies the secure connections
|
||||
# in java to support the ALPN layer needed for HTTP/2
|
||||
# in java to support the ALPN layer needed for HTTP/2.
|
||||
#
|
||||
# This modification has a tight dependency on specific recent updates of
|
||||
# Java 1.7 and Java 1.8
|
||||
# (Java versions prior to 1.7u40 are not supported)
|
||||
# Java 1.7 and Java 1.8 (Java versions prior to 1.7u40 are not supported).
|
||||
#
|
||||
# The alpn protonego module will use an appropriate alpn-boot jar for your
|
||||
# The alpn module will use an appropriate alpn-boot jar for your
|
||||
# specific version of Java.
|
||||
#
|
||||
# IMPORTANT: Versions of Java that exist after this module was created are
|
||||
|
@ -18,19 +17,28 @@
|
|||
# http://central.maven.org/maven2/org/mortbay/jetty/alpn/alpn-boot/
|
||||
|
||||
[name]
|
||||
protonego-impl
|
||||
alpn
|
||||
|
||||
[depend]
|
||||
protonego-impl/alpn-${java.version}
|
||||
ssl
|
||||
alpn-impl/alpn-${java.version}
|
||||
|
||||
[lib]
|
||||
lib/jetty-alpn-client-${jetty.version}.jar
|
||||
lib/jetty-alpn-server-${jetty.version}.jar
|
||||
|
||||
[xml]
|
||||
etc/jetty-alpn.xml
|
||||
|
||||
[files]
|
||||
lib/
|
||||
lib/alpn/
|
||||
|
||||
[ini-template]
|
||||
# Configuration for ALPN
|
||||
# alpn.protocols=h2-14,http/1.1
|
||||
# alpn.defaultProtocol=http/1.1
|
||||
|
||||
[license]
|
||||
ALPN is a hosted at github under the GPL v2 with ClassPath Exception.
|
||||
ALPN replaces/modifies OpenJDK classes in the java.sun.security.ssl package.
|
|
@ -4,13 +4,12 @@
|
|||
|
||||
[depend]
|
||||
ssl
|
||||
protonego
|
||||
alpn
|
||||
|
||||
[lib]
|
||||
lib/http2/*.jar
|
||||
|
||||
[xml]
|
||||
etc/protonego-${protonego}.xml
|
||||
etc/jetty-http2.xml
|
||||
|
||||
[ini-template]
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
#
|
||||
# Protocol Negotiatin Selection Module
|
||||
#
|
||||
|
||||
[depend]
|
||||
protonego-impl/${protonego}
|
||||
|
||||
[ini-template]
|
||||
# Protocol Negotiation Implementation Selection
|
||||
# Always set to 'alpn'
|
||||
protonego=alpn
|
||||
|
||||
# Configuration for ALPN
|
||||
# alpn.protocols=h2-14,http/1.1
|
||||
# alpn.defaultProtocol=http/1.1
|
||||
|
|
@ -3,7 +3,7 @@ XML|${jetty.home}/etc/jetty.xml
|
|||
XML|${jetty.home}/etc/jetty-http.xml
|
||||
XML|${jetty.home}/etc/jetty-jmx.xml
|
||||
XML|${jetty.home}/etc/jetty-ssl.xml
|
||||
XML|${jetty.home}/etc/protonego-alpn.xml
|
||||
XML|${jetty.home}/etc/jetty-alpn.xml
|
||||
XML|${jetty.home}/etc/jetty-http2.xml
|
||||
|
||||
|
||||
|
@ -31,7 +31,6 @@ PROP|jetty.keymanager.password=icecream
|
|||
PROP|jetty.truststore=etc/keystore
|
||||
PROP|jetty.truststore.password=sundae
|
||||
PROP|java.version=1.7.0_60
|
||||
PROP|protonego=alpn
|
||||
PROP|ssl.port=8443
|
||||
PROP|ssl.timeout=30000
|
||||
# (these are the ones set by default from jetty.home modules)
|
||||
|
|
Loading…
Reference in New Issue