[java-idp-jetty-base] 04/04: JJETTY-24 Changes for Jetty-Base 12.1

Rod Widdowson rdw at steadingsoftware.com
Wed Oct 22 15:04:38 UTC 2025


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch 12.1
in repository java-idp-jetty-base.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-jetty-base.git;a=commit;h=9a966fc2b7553f044a827690e6be239ee8523232

commit 9a966fc2b7553f044a827690e6be239ee8523232
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Oct 21 17:00:00 2025 +0100

    JJETTY-24 Changes for Jetty-Base 12.1
    
    https://shibboleth.atlassian.net/browse/JJETTY-24
    
    Add an SP module (initially the same as the IdP one) and an SP ini file.
    The latter is not included in the legacy jetty-base distro we produce, it
    also is the same as the idp.ini except starts the sp module and not the idp one.
---
 pom.xml                                              |  3 ++-
 .../idp/module/jetty/jetty-base/modules/sp.mod       | 20 ++++++++++++++++++++
 .../idp/module/jetty/jetty-base/start.d/sp.ini       | 18 ++++++++++++++++++
 3 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 8e60ba7..f16d023 100644
--- a/pom.xml
+++ b/pom.xml
@@ -29,7 +29,7 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
             </plugin>
-            <!-- Copy files to the jetty base we will create -->
+            <!-- Copy files to the (IdP targetted) jetty base we will create -->
             <plugin>
                 <artifactId>maven-resources-plugin</artifactId>
                 <executions>
@@ -47,6 +47,7 @@
                                     <directory>${basedir}/src/main/resources/net/shibboleth/idp/module/jetty/jetty-base</directory>
                                     <excludes>
                                         <exclude>**/.gitkeep</exclude>
+                                        <exclude>**/sp.ini</exclude>
                                     </excludes>
                                     <filtering>false</filtering>
                                 </resource>
diff --git a/src/main/resources/net/shibboleth/idp/module/jetty/jetty-base/modules/sp.mod b/src/main/resources/net/shibboleth/idp/module/jetty/jetty-base/modules/sp.mod
new file mode 100644
index 0000000..2b392b6
--- /dev/null
+++ b/src/main/resources/net/shibboleth/idp/module/jetty/jetty-base/modules/sp.mod
@@ -0,0 +1,20 @@
+[description]
+Shibboleth IdP
+
+[depend]
+ee10-annotations
+ee10-deploy
+ext
+ee9-webapp
+http
+https
+ee10-jsp
+ee10-jstl
+ee10-plus
+resources
+server
+ee10-servlets
+ssl
+
+[files]
+tmp/
diff --git a/src/main/resources/net/shibboleth/idp/module/jetty/jetty-base/start.d/sp.ini b/src/main/resources/net/shibboleth/idp/module/jetty/jetty-base/start.d/sp.ini
new file mode 100644
index 0000000..205eeee
--- /dev/null
+++ b/src/main/resources/net/shibboleth/idp/module/jetty/jetty-base/start.d/sp.ini
@@ -0,0 +1,18 @@
+#
+# Setup for the SP  Hub
+#
+--module=sp
+
+## Connector host/address to bind to
+# jetty.ssl.host=0.0.0.0
+
+## Connector port to listen on
+# jetty.ssl.port=443
+
+# Allows use of default IdP command line tools.
+jetty.http.host=127.0.0.1
+
+# Default jetty.http.port is 8080
+# jetty.http.port=80
+
+

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list