This is an automated email from the ASF dual-hosted git repository.

rmaucher pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/11.0.x by this push:
     new 035753c4e7 Fix removeServerAuthModule always throwing an IAE
035753c4e7 is described below

commit 035753c4e7f307aff1e5c428daa21ef86e430726
Author: remm <[email protected]>
AuthorDate: Sun May 31 22:40:19 2026 +0200

    Fix removeServerAuthModule always throwing an IAE
---
 java/org/apache/catalina/authenticator/jaspic/AuthConfigFactoryImpl.java | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/java/org/apache/catalina/authenticator/jaspic/AuthConfigFactoryImpl.java 
b/java/org/apache/catalina/authenticator/jaspic/AuthConfigFactoryImpl.java
index 0c23a412e3..1e8228bd6f 100644
--- a/java/org/apache/catalina/authenticator/jaspic/AuthConfigFactoryImpl.java
+++ b/java/org/apache/catalina/authenticator/jaspic/AuthConfigFactoryImpl.java
@@ -355,6 +355,7 @@ public class AuthConfigFactoryImpl extends 
AuthConfigFactory {
             String appContextID = servletContext.getVirtualServerName() + " " 
+ servletContext.getContextPath();
 
             removeRegistration(getRegistrationID(layer, appContextID));
+            return;
         }
 
         // Unsupported context type


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to