mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Fix RequestCache
Issue: gh-4789
This commit is contained in:
parent
a6733fae50
commit
0b1618d8b4
@ -456,7 +456,9 @@ public class ServerHttpSecurity {
|
||||
}
|
||||
|
||||
protected void configure(ServerHttpSecurity http) {
|
||||
http.addFilterAt(new ServerRequestCacheWebFilter(), SecurityWebFiltersOrder.SERVER_REQUEST_CACHE);
|
||||
ServerRequestCacheWebFilter filter = new ServerRequestCacheWebFilter();
|
||||
filter.setRequestCache(this.requestCache);
|
||||
http.addFilterAt(filter, SecurityWebFiltersOrder.SERVER_REQUEST_CACHE);
|
||||
}
|
||||
|
||||
public ServerHttpSecurity and() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user