[java-idp-jetty-base] 01/01: Run testbed in Eclipse with Jetty 9.4
Tom Zeller
tzeller at dragonacea.biz
Mon Aug 12 12:06:11 EDT 2019
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch 9.4-testbed-eclipse
in repository java-idp-jetty-base.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-jetty-base.git;a=commit;h=296cdb599fa0860adaa3a154031abf82f2a4257c
commit 296cdb599fa0860adaa3a154031abf82f2a4257c
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Mon Aug 12 11:05:47 2019 -0500
Run testbed in Eclipse with Jetty 9.4
---
.../jetty-base/modules/idp-testbed-eclipse.mod | 30 ++++++++++++++++++++++
.../jetty-base/start.d/idp-testbed-eclipse.ini | 12 +++++++++
src/main/resources/jetty-base/webapps/idp.xml | 2 +-
src/main/resources/jetty-base/webapps/testbed.xml | 9 +++++++
4 files changed, 52 insertions(+), 1 deletion(-)
diff --git a/src/main/resources/jetty-base/modules/idp-testbed-eclipse.mod b/src/main/resources/jetty-base/modules/idp-testbed-eclipse.mod
new file mode 100644
index 0000000..96baece
--- /dev/null
+++ b/src/main/resources/jetty-base/modules/idp-testbed-eclipse.mod
@@ -0,0 +1,30 @@
+[description]
+Run the Shibboleth IdP testbed in Eclipse
+
+[files]
+https://build.shibboleth.net/nexus/service/local/artifact/maven/redirect?r=thirdparty&g=com.unboundid&a=unboundid-ldapsdk&v=4.0.9&p=jar|lib/ext/unboundid-ldapsdk-4.0.9.jar
+https://build.shibboleth.net/nexus/service/local/artifact/maven/redirect?r=thirdparty&g=org.ldaptive&a=ldaptive-unboundid&v=1.0.13&p=jar|lib/ext/ldaptive-unboundid-1.0.13.jar
+https://build.shibboleth.net/nexus/service/local/artifact/maven/redirect?r=thirdparty&g=org.hsqldb&a=hsqldb&v=2.3.3&p=jar|lib/ext/hsqldb-2.3.3.jar
+
+[lib]
+# idp-conf, test resources first
+../../../../../java-identity-provider/idp-conf/src/test/resources/
+../../../../../java-identity-provider/idp-conf/src/main/resources/
+
+# idp-conf test classes
+../../../../../java-identity-provider/idp-conf/target/test-classes/
+
+# idp-war third-party dependencies only
+../../../../../java-identity-provider/idp-war/target/idp-war-4.0.0-SNAPSHOT/WEB-INF/lib/*.jar
+
+
+# classes built by Eclipse
+../../../../../java-identity-provider/idp-*/target/classes/
+../../../../../java-opensaml/opensaml-*/target/classes/
+../../../../../java-support/target/classes
+../../../../../spring-extensions/target/classes
+
+
+# testbed resources and classes
+../../../../../java-idp-testbed/src/main/resources/
+../../../../../java-idp-testbed/target/classes/
\ No newline at end of file
diff --git a/src/main/resources/jetty-base/start.d/idp-testbed-eclipse.ini b/src/main/resources/jetty-base/start.d/idp-testbed-eclipse.ini
new file mode 100644
index 0000000..e08c5cb
--- /dev/null
+++ b/src/main/resources/jetty-base/start.d/idp-testbed-eclipse.ini
@@ -0,0 +1,12 @@
+# ---------------------------------------
+# Module: idp-testbed-eclipse
+# Run the Shibboleth IdP in Eclipse
+# ---------------------------------------
+--module=idp-testbed-eclipse
+
+jetty.sslContext.keyStorePath=../../../../../java-identity-provider/idp-conf/src/test/resources/credentials/idp-userfacing.p12
+jetty.sslContext.trustStorePath=../../../../../java-identity-provider/idp-conf/src/test/resources/credentials/idp-userfacing.p12
+jetty.ssl.port=8443
+
+idp.backchannel.keyStorePath=../../../../../java-identity-provider/idp-conf/src/test/resources/credentials/idp-backchannel.p12
+idp.backchannel.port=9443
diff --git a/src/main/resources/jetty-base/webapps/idp.xml b/src/main/resources/jetty-base/webapps/idp.xml
index ffb3007..6f6044f 100644
--- a/src/main/resources/jetty-base/webapps/idp.xml
+++ b/src/main/resources/jetty-base/webapps/idp.xml
@@ -4,7 +4,7 @@
<!-- Configure the Shibboleth IdP webapp -->
<!-- =============================================================== -->
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
- <Set name="war"><SystemProperty name="idp.war.path" default="../war/idp.war" /></Set>
+ <Set name="war">../../../../../java-identity-provider/idp-war/src/main/webapp</Set>
<Set name="contextPath"><SystemProperty name="idp.context.path" default="/idp" /></Set>
<Set name="extractWAR">false</Set>
<Set name="copyWebDir">false</Set>
diff --git a/src/main/resources/jetty-base/webapps/testbed.xml b/src/main/resources/jetty-base/webapps/testbed.xml
new file mode 100644
index 0000000..8304814
--- /dev/null
+++ b/src/main/resources/jetty-base/webapps/testbed.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
+<Configure class="org.eclipse.jetty.webapp.WebAppContext">
+ <Set name="war">../../../../../java-idp-testbed/src/main/webapp/</Set>
+ <Set name="contextPath">/</Set>
+ <Set name="extractWAR">false</Set>
+ <Set name="copyWebDir">false</Set>
+ <Set name="copyWebInf">true</Set>
+</Configure>
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list