requestCache
Allows configuring 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.
Example:
@Configuration
@EnableWebFluxSecurity
class SecurityConfig {
@Bean
fun springWebFilterChain(http: ServerHttpSecurity): SecurityWebFilterChain {
return http {
requestCache { }
}
}
}Content copied to clipboard
Parameters
requestCacheConfiguration
custom configuration to apply to the request cache