public class ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec
extends java.lang.Object
Constructor and Description |
---|
JwtSpec() |
Modifier and Type | Method and Description |
---|---|
ServerHttpSecurity.OAuth2ResourceServerSpec |
and() |
ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec |
authenticationManager(ReactiveAuthenticationManager authenticationManager)
Configures the
ReactiveAuthenticationManager to use |
protected void |
configure(ServerHttpSecurity http) |
protected ReactiveJwtDecoder |
getJwtDecoder() |
ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec |
jwkSetUri(java.lang.String jwkSetUri)
Configures a
ReactiveJwtDecoder using
JSON Web Key (JWK) URL |
ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec |
jwtDecoder(ReactiveJwtDecoder jwtDecoder)
Configures the
ReactiveJwtDecoder to use |
ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec |
publicKey(java.security.interfaces.RSAPublicKey publicKey)
Configures a
ReactiveJwtDecoder that leverages the provided RSAPublicKey |
public ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec authenticationManager(ReactiveAuthenticationManager authenticationManager)
ReactiveAuthenticationManager
to useauthenticationManager
- the authentication manager to useJwtSpec
for additional configurationpublic ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec jwtDecoder(ReactiveJwtDecoder jwtDecoder)
ReactiveJwtDecoder
to usejwtDecoder
- the decoder to useJwtSpec
for additional configurationpublic ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec publicKey(java.security.interfaces.RSAPublicKey publicKey)
ReactiveJwtDecoder
that leverages the provided RSAPublicKey
publicKey
- the public key to use.JwtSpec
for additional configurationpublic ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec jwkSetUri(java.lang.String jwkSetUri)
ReactiveJwtDecoder
using
JSON Web Key (JWK) URLjwkSetUri
- the URL to use.JwtSpec
for additional configurationpublic ServerHttpSecurity.OAuth2ResourceServerSpec and()
protected void configure(ServerHttpSecurity http)
protected ReactiveJwtDecoder getJwtDecoder()