From fb26284c00e09e656732eb7ca4570afd052e0067 Mon Sep 17 00:00:00 2001 From: Jacek Kowalski <Jacek@jacekk.info> Date: Fri, 21 Jun 2024 11:47:01 +0000 Subject: [PATCH] Improve error reporting in CAS ticket validation --- src/main/java/org/keycloak/protocol/cas/representations/CASServiceResponse.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/src/main/java/org/keycloak/protocol/cas/representations/CASServiceResponse.java b/src/main/java/org/keycloak/protocol/cas/representations/CASServiceResponse.java index 6716322..3e8fad8 100644 --- a/src/main/java/org/keycloak/protocol/cas/representations/CASServiceResponse.java +++ b/src/main/java/org/keycloak/protocol/cas/representations/CASServiceResponse.java @@ -6,6 +6,8 @@ public class CASServiceResponse { private CASServiceResponseAuthenticationFailure authenticationFailure; private CASServiceResponseAuthenticationSuccess authenticationSuccess; + private CASServiceResponseProxySuccess proxySuccess; + private CASServiceResponseProxyFailure proxyFailure; public CASServiceResponseAuthenticationFailure getAuthenticationFailure() { return this.authenticationFailure; @@ -22,4 +24,20 @@ public void setAuthenticationSuccess(final CASServiceResponseAuthenticationSuccess authenticationSuccess) { this.authenticationSuccess = authenticationSuccess; } + + public CASServiceResponseProxySuccess getProxySuccess() { + return this.proxySuccess; + } + + public void setProxySuccess(final CASServiceResponseProxySuccess proxySuccess) { + this.proxySuccess = proxySuccess; + } + + public CASServiceResponseProxyFailure getProxyFailure() { + return this.proxyFailure; + } + + public void setProxyFailure(final CASServiceResponseProxyFailure proxyFailure) { + this.proxyFailure = proxyFailure; + } } -- Gitblit v1.9.1