feat: 优化模式
This commit is contained in:
parent
2f9404ebf7
commit
8d75560d7d
14
pom.xml
14
pom.xml
@ -62,13 +62,13 @@
|
|||||||
<!-- <scope>system</scope>-->
|
<!-- <scope>system</scope>-->
|
||||||
<!-- <systemPath>${project.basedir}/lib/cas-client-core-3.1.12.jar</systemPath>-->
|
<!-- <systemPath>${project.basedir}/lib/cas-client-core-3.1.12.jar</systemPath>-->
|
||||||
<!-- </dependency>-->
|
<!-- </dependency>-->
|
||||||
<!-- <dependency>-->
|
<dependency>
|
||||||
<!-- <groupId>edu.yale.its</groupId>-->
|
<groupId>edu.yale.its</groupId>
|
||||||
<!-- <artifactId>cas-client-java</artifactId>-->
|
<artifactId>cas-client-java</artifactId>
|
||||||
<!-- <version>7.0.8</version>-->
|
<version>7.0.8</version>
|
||||||
<!-- <scope>system</scope>-->
|
<scope>system</scope>
|
||||||
<!-- <systemPath>${project.basedir}/lib/sso-client-java-7.0.8.jar</systemPath>-->
|
<systemPath>${project.basedir}/lib/sso-client-java-7.0.8.jar</systemPath>
|
||||||
<!-- </dependency>-->
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ public class CASContext {
|
|||||||
ServerHttpResponse response = exchange.getResponse();
|
ServerHttpResponse response = exchange.getResponse();
|
||||||
response.setRawStatusCode(HttpStatus.FOUND.value());
|
response.setRawStatusCode(HttpStatus.FOUND.value());
|
||||||
response.getHeaders().setLocation(URI.create(url));
|
response.getHeaders().setLocation(URI.create(url));
|
||||||
return chain.filter(exchange.mutate().response(response).build());
|
return Mono.empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
ServerHttpRequest getRequest() {
|
ServerHttpRequest getRequest() {
|
||||||
|
Loading…
Reference in New Issue
Block a user