Class RequestCacheConfigurer<H extends HttpSecurityBuilder<H>>

All Implemented Interfaces:
SecurityConfigurer<DefaultSecurityFilterChain,H>

public final class RequestCacheConfigurer<H extends HttpSecurityBuilder<H>> extends AbstractHttpConfigurer<RequestCacheConfigurer<H>,H>
Adds request cache for Spring Security. Specifically this ensures that requests that are saved (i.e. after authentication is required) are later replayed. All properties have reasonable defaults, so no additional configuration is required other than applying this SecurityConfigurer .

Security Filters

The following Filters are populated

Shared Objects Created

No shared objects are created.

Shared Objects Used

The following shared objects are used:
  • If no explicit RequestCache, is provided a RequestCache shared object is used to replay the request after authentication is successful
Since:
3.2
See Also: