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

markt-asf 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 a4b0c6c74b Follow-up to 34315ac0
a4b0c6c74b is described below

commit a4b0c6c74bf4b0d8452c52fa74561dbf6b4e3737
Author: Mark Thomas <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to