You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/09/30 11:25:07 UTC
(tomcat) branch 11.0.x updated: Follow-up to 34315ac0
This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 8c4a2f3747 Follow-up to 34315ac0
8c4a2f3747 is described below
commit 8c4a2f37470c64f830f7ed822e43a74b22b4f747
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Sep 30 12:24:47 2026 +0100
Follow-up to 34315ac0
Better log message
---
java/org/apache/catalina/authenticator/LocalStrings.properties | 1 +
java/org/apache/catalina/authenticator/SpnegoAuthenticator.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/java/org/apache/catalina/authenticator/LocalStrings.properties b/java/org/apache/catalina/authenticator/LocalStrings.properties
index c557f32e63..022bffcc6d 100644
--- a/java/org/apache/catalina/authenticator/LocalStrings.properties
+++ b/java/org/apache/catalina/authenticator/LocalStrings.properties
@@ -92,6 +92,7 @@ singleSignOn.sessionExpire.sessionNotFound=SSO unable to expire session [{0}] be
spnegoAuthenticator.authHeaderInvalidToken=The token sent by the client was invalid
spnegoAuthenticator.authHeaderNoToken=The Negotiate authorization header sent by the client did not include a token
spnegoAuthenticator.authHeaderNotNego=The authorization header sent by the client did not start with Negotiate
+spnegoAuthenticator.clientLoginFail=Unable to authenticate the client provided ticket
spnegoAuthenticator.serviceLoginFail=Unable to login as the service principal
spnegoAuthenticator.ticketValidateFail=Failed to validate client supplied ticket
diff --git a/java/org/apache/catalina/authenticator/SpnegoAuthenticator.java b/java/org/apache/catalina/authenticator/SpnegoAuthenticator.java
index 52287593e7..05c24a5baa 100644
--- a/java/org/apache/catalina/authenticator/SpnegoAuthenticator.java
+++ b/java/org/apache/catalina/authenticator/SpnegoAuthenticator.java
@@ -325,7 +325,7 @@ public class SpnegoAuthenticator extends AuthenticatorBase {
log.debug(sm.getString("spnegoAuthenticator.ticketValidateFail"), e);
}
} else {
- log.error(sm.getString("spnegoAuthenticator.serviceLoginFail"), e);
+ log.error(sm.getString("spnegoAuthenticator.clientLoginFail"), e);
}
response.setHeader(AUTH_HEADER_NAME, AUTH_HEADER_VALUE_NEGOTIATE);
response.sendError(HttpServletResponse.SC_UNAUTHORIZED);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org