public class ServerHttpSecurity.OAuth2ResourceServerSpec
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec
Configures JWT Resource Server Support
|
Constructor and Description |
---|
OAuth2ResourceServerSpec() |
Modifier and Type | Method and Description |
---|---|
ServerHttpSecurity |
and() |
ServerHttpSecurity.OAuth2ResourceServerSpec |
bearerTokenConverter(ServerAuthenticationConverter bearerTokenConverter)
Configures the
ServerAuthenticationConverter to use for requests authenticating with
Bearer Tokens. |
protected void |
configure(ServerHttpSecurity http) |
ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec |
jwt() |
public ServerHttpSecurity.OAuth2ResourceServerSpec bearerTokenConverter(ServerAuthenticationConverter bearerTokenConverter)
ServerAuthenticationConverter
to use for requests authenticating with
Bearer Tokens.bearerTokenConverter
- The ServerAuthenticationConverter
to useServerHttpSecurity.OAuth2ResourceServerSpec
for additional configurationpublic ServerHttpSecurity.OAuth2ResourceServerSpec.JwtSpec jwt()
protected void configure(ServerHttpSecurity http)
public ServerHttpSecurity and()