This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new f4490b874c Fix removeServerAuthModule always throwing an IAE
f4490b874c is described below
commit f4490b874c43db5552f8c4593fba4cefbf339885
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 225a924545..f1bcaaef3a 100644
--- a/java/org/apache/catalina/authenticator/jaspic/AuthConfigFactoryImpl.java
+++ b/java/org/apache/catalina/authenticator/jaspic/AuthConfigFactoryImpl.java
@@ -357,6 +357,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]