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() {