All Implemented Interfaces:
SecurityConfigurer<DefaultSecurityFilterChain,H>

public final class OAuth2ResourceServerConfigurer<H extends HttpSecurityBuilder<H>> extends AbstractHttpConfigurer<OAuth2ResourceServerConfigurer<H>,H>
An AbstractHttpConfigurer for OAuth 2.0 Resource Server Support. By default, this wires a BearerTokenAuthenticationFilter, which can be used to parse the request for bearer tokens and make an authentication attempt.

The following configuration options are available:

When using jwt(Customizer), either

Also with jwt(Customizer) consider

When using opaqueToken(Customizer), supply an introspection endpoint with its client credentials and an OpaqueTokenAuthenticationConverter

Security Filters

The following Filters are populated when jwt(Customizer) is configured:

Shared Objects Created

The following shared objects are populated:

Shared Objects Used

The following shared objects are used:
Since:
5.1
See Also: