From befd2a8cf0de1002dad1db7320fd1a2198b89b75 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Fri, 21 Jun 2024 09:32:30 +0000
Subject: [PATCH] Improve error reporting in CAS ticket validation

---
 src/main/java/org/keycloak/protocol/cas/representations/CASErrorCode.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/keycloak/protocol/cas/representations/CASErrorCode.java b/src/main/java/org/keycloak/protocol/cas/representations/CASErrorCode.java
index d80825c..278c5c6 100644
--- a/src/main/java/org/keycloak/protocol/cas/representations/CASErrorCode.java
+++ b/src/main/java/org/keycloak/protocol/cas/representations/CASErrorCode.java
@@ -9,6 +9,8 @@
     UNAUTHORIZED_SERVICE_PROXY,
     /** The proxy callback specified is invalid. The credentials specified for proxy authentication do not meet the security requirements */
     INVALID_PROXY_CALLBACK,
+    /** The proxy callback specified return with error*/
+    PROXY_CALLBACK_ERROR,
     /** the ticket provided was not valid, or the ticket did not come from an initial login and renew was set on validation. */
     INVALID_TICKET,
     /** the ticket provided was valid, but the service specified did not match the service associated with the ticket. */

--
Gitblit v1.9.1