This is an automated email from the ASF dual-hosted git repository.
rmaucher pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new aee5d45153 Fix removeServerAuthModule always throwing an IAE
aee5d45153 is described below
commit aee5d451533b28c50dfdb823e884d3b62b929f4e
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]