Class OAuth2ResourceServerConfigurer.JwtConfigurer
java.lang.Object
org.springframework.security.config.annotation.web.configurers.oauth2.server.resource.OAuth2ResourceServerConfigurer.JwtConfigurer
- Enclosing class:
- OAuth2ResourceServerConfigurer<H extends HttpSecurityBuilder<H>>
-
Method Summary
Modifier and TypeMethodDescriptionand()
Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0.authenticationManager
(AuthenticationManager authenticationManager) decoder
(JwtDecoder decoder) jwtAuthenticationConverter
(org.springframework.core.convert.converter.Converter<Jwt, ? extends AbstractAuthenticationToken> jwtAuthenticationConverter)
-
Method Details
-
authenticationManager
public OAuth2ResourceServerConfigurer<H>.JwtConfigurer authenticationManager(AuthenticationManager authenticationManager) -
decoder
-
jwkSetUri
-
jwtAuthenticationConverter
public OAuth2ResourceServerConfigurer<H>.JwtConfigurer jwtAuthenticationConverter(org.springframework.core.convert.converter.Converter<Jwt, ? extends AbstractAuthenticationToken> jwtAuthenticationConverter) -
and
Deprecated, for removal: This API element is subject to removal in a future version.For removal in 7.0. UseOAuth2ResourceServerConfigurer.jwt(Customizer)
orjwt(Customizer.withDefaults())
to stick with defaults. See the documentation for more details.
-