From 8d75560d7d77ddeb159e5756e967dd97e0a4e7b6 Mon Sep 17 00:00:00 2001 From: wangyu <727842003@qq.com> Date: Sat, 12 Oct 2024 16:27:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 14 +++++++------- .../dev/flyfish/boot/cas/filter/CASContext.java | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 1034063..92db918 100644 --- a/pom.xml +++ b/pom.xml @@ -62,13 +62,13 @@ - - - - - - - + + edu.yale.its + cas-client-java + 7.0.8 + system + ${project.basedir}/lib/sso-client-java-7.0.8.jar + diff --git a/src/main/java/dev/flyfish/boot/cas/filter/CASContext.java b/src/main/java/dev/flyfish/boot/cas/filter/CASContext.java index 22b13ee..1d2ac3a 100644 --- a/src/main/java/dev/flyfish/boot/cas/filter/CASContext.java +++ b/src/main/java/dev/flyfish/boot/cas/filter/CASContext.java @@ -70,7 +70,7 @@ public class CASContext { ServerHttpResponse response = exchange.getResponse(); response.setRawStatusCode(HttpStatus.FOUND.value()); response.getHeaders().setLocation(URI.create(url)); - return chain.filter(exchange.mutate().response(response).build()); + return Mono.empty(); } ServerHttpRequest getRequest() {