From 7bc48f59e745e5e6098fdde7d838feeb4d93f2a8 Mon Sep 17 00:00:00 2001
From: Nithe14 <imnithe@gmail.com>
Date: Mon, 20 Jan 2025 13:21:31 +0000
Subject: [PATCH] Changes for Keycloak 26.0.1

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

diff --git a/src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java b/src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java
index 3961cfa..abcdc4c 100644
--- a/src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java
+++ b/src/main/java/org/keycloak/protocol/cas/CASLoginProtocol.java
@@ -120,7 +120,7 @@
     }
 
     @Override
-    public Response sendError(AuthenticationSessionModel authSession, Error error) {
+    public Response sendError(AuthenticationSessionModel authSession, Error error, String errorMessage) {
         if (authSession.getClientNotes().containsKey(CASLoginProtocol.GATEWAY_PARAM)) {
             if (error == Error.PASSIVE_INTERACTION_REQUIRED || error == Error.PASSIVE_LOGIN_REQUIRED) {
                 return Response.status(302).location(URI.create(authSession.getRedirectUri())).build();

--
Gitblit v1.9.1