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 Summary
Modifier and TypeMethodDescriptionand()
Allows method chaining to continue configuring theServerHttpSecurity
protected void
configure
(ServerHttpSecurity http) disable()
Disables theServerHttpSecurity.RequestCacheSpec
requestCache
(ServerRequestCache requestCache) Configures the cache used
-
Method Details
-
requestCache
Configures the cache used- Parameters:
requestCache
- the request cache- Returns:
- the
ServerHttpSecurity.RequestCacheSpec
to configure
-
configure
-
and
Allows method chaining to continue configuring theServerHttpSecurity
- Returns:
- the
ServerHttpSecurity
to continue configuring
-
disable
Disables theServerHttpSecurity.RequestCacheSpec
- Returns:
- the
ServerHttpSecurity
to continue configuring
-