[java-identity-provider] branch main updated: Raise logging for CAS ticket validation issues.

Codeberg noreply at shibboleth.net
Thu Jan 8 15:31:27 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/e6fb874a70d243df21dfa63d3b7b0ae4be25fcfd

The following commit(s) were added to refs/heads/main by this push:
     new e6fb874a7 Raise logging for CAS ticket validation issues.
e6fb874a7 is described below

commit e6fb874a70d243df21dfa63d3b7b0ae4be25fcfd
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Jan 8 10:31:16 2026 -0500

    Raise logging for CAS ticket validation issues.
---
 .../java/net/shibboleth/idp/cas/flow/impl/ValidateRenewAction.java    | 2 +-
 .../java/net/shibboleth/idp/cas/flow/impl/ValidateTicketAction.java   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/flow/impl/ValidateRenewAction.java b/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/flow/impl/ValidateRenewAction.java
index 695ca2fdd..1f94cafa2 100644
--- a/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/flow/impl/ValidateRenewAction.java
+++ b/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/flow/impl/ValidateRenewAction.java
@@ -74,7 +74,7 @@ public class ValidateRenewAction extends AbstractCASProtocolAction<TicketValidat
 
         if (ticket instanceof ServiceTicket) {
             if (request.isRenew() != ((ServiceTicket) ticket).isRenew()) {
-                log.debug("{} Renew=true requested at validation time but ticket not issued with renew=true",
+                log.warn("{} Renew=true requested at validation time but ticket not issued with renew=true",
                         getLogPrefix());
                 ActionSupport.buildEvent(profileRequestContext, ProtocolError.TicketNotFromRenew.event(this));
                 return;
diff --git a/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/flow/impl/ValidateTicketAction.java b/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/flow/impl/ValidateTicketAction.java
index 183cfbb0b..a9361906f 100644
--- a/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/flow/impl/ValidateTicketAction.java
+++ b/idp-cas-impl/src/main/java/net/shibboleth/idp/cas/flow/impl/ValidateTicketAction.java
@@ -122,7 +122,7 @@ public class ValidateTicketAction extends AbstractCASProtocolAction<TicketValida
                 log.debug("{} Found and removed {} from ticket store", getLogPrefix(), ticketId);
             }
         } catch (final RuntimeException e) {
-            log.debug("{} CAS ticket retrieval failed with error: {}", getLogPrefix(), e);
+            log.warn("{} CAS ticket retrieval failed with error: {}", getLogPrefix(), e);
             ActionSupport.buildEvent(profileRequestContext, ProtocolError.TicketRetrievalError.event(this));
             return;
         }
@@ -134,7 +134,7 @@ public class ValidateTicketAction extends AbstractCASProtocolAction<TicketValida
 
         if (validateConfig.getServiceComparator(profileRequestContext).compare(
                 ticket.getService(), request.getService()) != 0) {
-            log.debug("{} Service issued for {} does not match {}", getLogPrefix(), ticket.getService(),
+            log.warn("{} Service issued for {} does not match {}", getLogPrefix(), ticket.getService(),
                     request.getService());
             ActionSupport.buildEvent(profileRequestContext, ProtocolError.ServiceMismatch.event(this));
             return;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list