public class ServerHttpSecurity.OAuth2ClientSpec
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ServerHttpSecurity |
and()
Allows method chaining to continue configuring the
ServerHttpSecurity |
ServerHttpSecurity.OAuth2ClientSpec |
authenticationConverter(ServerAuthenticationConverter authenticationConverter)
Sets the converter to use
|
ServerHttpSecurity.OAuth2ClientSpec |
authenticationManager(ReactiveAuthenticationManager authenticationManager)
Configures the
ReactiveAuthenticationManager to use. |
ServerHttpSecurity.OAuth2ClientSpec |
authorizedClientRepository(ServerOAuth2AuthorizedClientRepository authorizedClientRepository)
Configures the
ReactiveClientRegistrationRepository. |
ServerHttpSecurity.OAuth2ClientSpec |
clientRegistrationRepository(ReactiveClientRegistrationRepository clientRegistrationRepository)
Configures the
ReactiveClientRegistrationRepository. |
protected void |
configure(ServerHttpSecurity http) |
public ServerHttpSecurity.OAuth2ClientSpec authenticationConverter(ServerAuthenticationConverter authenticationConverter)
authenticationConverter - the converter to useServerHttpSecurity.OAuth2ClientSpec to customizepublic ServerHttpSecurity.OAuth2ClientSpec authenticationManager(ReactiveAuthenticationManager authenticationManager)
ReactiveAuthenticationManager to use. The default is
OAuth2AuthorizationCodeReactiveAuthenticationManagerauthenticationManager - the manager to useServerHttpSecurity.OAuth2ClientSpec to customizepublic ServerHttpSecurity.OAuth2ClientSpec clientRegistrationRepository(ReactiveClientRegistrationRepository clientRegistrationRepository)
ReactiveClientRegistrationRepository. Default is to look the value up as a Bean.clientRegistrationRepository - the repository to useServerHttpSecurity.OAuth2ClientSpec to customizepublic ServerHttpSecurity.OAuth2ClientSpec authorizedClientRepository(ServerOAuth2AuthorizedClientRepository authorizedClientRepository)
ReactiveClientRegistrationRepository. Default is to look the value up as a Bean.authorizedClientRepository - the repository to useServerHttpSecurity.OAuth2ClientSpec to customizepublic ServerHttpSecurity and()
ServerHttpSecurityServerHttpSecurity to continue configuringprotected void configure(ServerHttpSecurity http)