From 88782ead8cf77b00cd78baef5a80f8f02dfe48d7 Mon Sep 17 00:00:00 2001 From: Andre Knieschewski Date: Fri, 5 Sep 2025 11:24:15 +0200 Subject: [PATCH] =?UTF-8?q?Anmeldung=20Shibboleth=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .classpath | 96 ++++++++++++++++++---- src/de/superx/servlet/UserInitializer.java | 6 +- 2 files changed, 85 insertions(+), 17 deletions(-) diff --git a/.classpath b/.classpath index 0ceb063..5c4da46 100644 --- a/.classpath +++ b/.classpath @@ -846,21 +846,85 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/de/superx/servlet/UserInitializer.java b/src/de/superx/servlet/UserInitializer.java index 80d6211..dfd1177 100644 --- a/src/de/superx/servlet/UserInitializer.java +++ b/src/de/superx/servlet/UserInitializer.java @@ -573,7 +573,11 @@ public class UserInitializer { passwort = "dummy"; // bei LDAP oder so boolean isPasswordOK = false; - if (isRemotePasswortCheck) { + //System.out.println("getAuthType: "+ request.getAuthType()); + //System.out.println("isRemotePasswortCheck: "+ isRemotePasswortCheck); + if(request.getAuthType() !=null && request.getAuthType().equals("shibboleth")) { + isPasswordOK = true; + } else if (isRemotePasswortCheck) { isPasswordOK = new LdapPasswordChecker().isLdapPasswordOK(false, mandantenID, user, passwort); } else {