feat: 优化模式
This commit is contained in:
parent
2f9404ebf7
commit
8d75560d7d
14
pom.xml
14
pom.xml
@ -62,13 +62,13 @@
|
||||
<!-- <scope>system</scope>-->
|
||||
<!-- <systemPath>${project.basedir}/lib/cas-client-core-3.1.12.jar</systemPath>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>edu.yale.its</groupId>-->
|
||||
<!-- <artifactId>cas-client-java</artifactId>-->
|
||||
<!-- <version>7.0.8</version>-->
|
||||
<!-- <scope>system</scope>-->
|
||||
<!-- <systemPath>${project.basedir}/lib/sso-client-java-7.0.8.jar</systemPath>-->
|
||||
<!-- </dependency>-->
|
||||
<dependency>
|
||||
<groupId>edu.yale.its</groupId>
|
||||
<artifactId>cas-client-java</artifactId>
|
||||
<version>7.0.8</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${project.basedir}/lib/sso-client-java-7.0.8.jar</systemPath>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user