[java-idp-plugin-jetty] 01/02: JJETTY-51 config-jetty.bat INSTALL <User> mishandles the [parameters]

Codeberg noreply at shibboleth.net
Tue Nov 10 16:02:38 UTC 2026


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

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

View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-jetty/commit/d377cc223a4d1eaed0f46389c4fc903385e90ac3

commit d377cc223a4d1eaed0f46389c4fc903385e90ac3
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue Nov 10 14:29:30 2026 +0000

    JJETTY-51 config-jetty.bat INSTALL <User> mishandles the [parameters]
    
    https://shibboleth.atlassian.net/browse/JJETTY-51
    
    Deal with bug and inanities in processing of username parameter
---
 .../net/shibboleth/idp/module/jetty/config-jetty.bat       | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/config-jetty.bat b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/config-jetty.bat
index 982f041..3d59364 100644
--- a/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/config-jetty.bat
+++ b/jetty-impl/src/main/resources/net/shibboleth/idp/module/jetty/config-jetty.bat
@@ -59,16 +59,18 @@ if NOT "%1" EQU "INSTALL" (
    exit /b
 )
 
-if NOT "%2" EQU "" (
-   SET USERNAME=%2
-   SET /P PASSWORD="Password for %USERNAME%: "
-   SET PR_SERVICEUSER=%USERNAME%
-   SET PR_SERVICEPASSWORD=%PASSWORD%
-) else (
+if "%2" EQU "" (
     SET USERNAME=LocalService
     SET PR_SERVICEUSER=
     SET PR_SERVICEPASSWORD=
+    goto got_name
 )
+SET USERNAME=%2
+SET /P PASSWORD="Password for %USERNAME%: "
+SET PR_SERVICEUSER=.\%USERNAME%
+SET PR_SERVICEPASSWORD=%PASSWORD%
+
+:got_name
 
 REM
 REM First up create and configure the procrun instance which will run jetty

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


More information about the commits mailing list