Class ServerHttpSecurity.RequestCacheSpec
java.lang.Object
org.springframework.security.config.web.server.ServerHttpSecurity.RequestCacheSpec
- Enclosing class:
- ServerHttpSecurity
Configures the request cache which is used when a flow is interrupted (i.e. due to
 requesting credentials) so that the request can be replayed after authentication.
- Since:
- 5.0
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionand()Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0.protected voidconfigure(ServerHttpSecurity http) disable()Disables theServerHttpSecurity.RequestCacheSpecrequestCache(ServerRequestCache requestCache) Configures the cache used
- 
Method Details- 
requestCacheConfigures the cache used- Parameters:
- requestCache- the request cache
- Returns:
- the ServerHttpSecurity.RequestCacheSpecto configure
 
- 
configure
- 
andDeprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0. UseServerHttpSecurity.requestCache(Customizer)orrequestCache(Customizer.withDefaults())to stick with defaults. See the documentation for more details.Allows method chaining to continue configuring theServerHttpSecurity- Returns:
- the ServerHttpSecurityto continue configuring
 
- 
disableDisables theServerHttpSecurity.RequestCacheSpec- Returns:
- the ServerHttpSecurityto continue configuring
 
 
-