[java-idp-plugin-jetty] branch main updated: Remove old code that put the jetty temp file below jetty base

Rod Widdowson rdw at steadingsoftware.com
Mon Sep 8 15:49:48 UTC 2025


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

rdw pushed a commit to branch main
in repository java-idp-plugin-jetty.

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

The following commit(s) were added to refs/heads/main by this push:
     new dc2b5b8  Remove old code that put the jetty temp file below jetty base
dc2b5b8 is described below

commit dc2b5b81923b164770bf64776353b14fc7de0194
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Sep 8 16:49:46 2025 +0100

    Remove old code that put the jetty temp file below jetty base
---
 jetty-impl/pom.xml                                                | 1 -
 .../main/java/net/shibboleth/idp/module/jetty/JettyModule.java    | 8 --------
 .../resources/net/shibboleth/idp/module/jetty/module.properties   | 5 -----
 3 files changed, 14 deletions(-)

diff --git a/jetty-impl/pom.xml b/jetty-impl/pom.xml
index 18f26ac..fba48a7 100644
--- a/jetty-impl/pom.xml
+++ b/jetty-impl/pom.xml
@@ -90,7 +90,6 @@
                                 </artifactItem>
                                 <!-- How to do a different jetty-base version
                                      Also: Add files to n.s.i.module.jetty/module.properties
-                                           Create Directory in .s.i.module.jetty/JettyModule.java
                                 <artifactItem>
                                     <groupId>net.shibboleth.idp</groupId>
                                     <artifactId>idp-jetty-base</artifactId>
diff --git a/jetty-impl/src/main/java/net/shibboleth/idp/module/jetty/JettyModule.java b/jetty-impl/src/main/java/net/shibboleth/idp/module/jetty/JettyModule.java
index 299f736..d4255a6 100644
--- a/jetty-impl/src/main/java/net/shibboleth/idp/module/jetty/JettyModule.java
+++ b/jetty-impl/src/main/java/net/shibboleth/idp/module/jetty/JettyModule.java
@@ -49,14 +49,6 @@ public class JettyModule extends PluginIdPModule {
     public Map<ModuleResource, ResourceResult> enable(@Nonnull ModuleContext moduleContext) throws ModuleException {
         final Map<ModuleResource, ResourceResult> result = super.enable(moduleContext);
         final Path idpHome = Path.of(moduleContext.getInstallLocation());
-        final Path jettyBase = idpHome.resolve("jetty-base-12");
-        log.debug("Creating directories (if needed): '{}' '{}'\n", jettyBase.resolve("tmp"));
-        try {
-            Files.createDirectories(jettyBase.resolve("tmp"));
-        } catch (final IOException e) {
-            log.error("Create Directory failed", e);
-            throw new ModuleException(e);
-        }
         final Path keystore= idpHome.resolve("credentials").resolve("idp-userfacing.p12");
         if (!Files.exists(keystore)) {
             generateKeystore(keystore);
diff --git a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/module.properties b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/module.properties
index 1cf096e..dcc3eea 100644
--- a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/module.properties
+++ b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/module.properties
@@ -9,11 +9,6 @@ jetty.plugin = net.shibboleth.idp.plugin.jetty
 jetty.module.name = Jetty Base Module
 jetty.module.desc = Configures jetty  
 
-#
-# NOTE.
-# If adding other jetty-base-versions remember to create the temp file
-# in net.shibboleth.idp.module.jetty.JettyModule
-#
 jetty.module.1.src = /net/shibboleth/idp/module/jetty/jetty-base-12/etc/jetty-requestlog.xml
 jetty.module.1.dest = jetty-base-12/etc/jetty-requestlog.xml
 

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


More information about the commits mailing list