public class OAuth2LoginAuthenticationWebFilter
extends org.springframework.security.web.server.authentication.AuthenticationWebFilter
AuthenticationWebFilter that converts from an
OAuth2LoginAuthenticationToken to an OAuth2AuthenticationToken and
saves the OAuth2AuthorizedClient| Constructor and Description |
|---|
OAuth2LoginAuthenticationWebFilter(org.springframework.security.authentication.ReactiveAuthenticationManager authenticationManager,
ServerOAuth2AuthorizedClientRepository authorizedClientRepository)
Creates an instance
|
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<java.lang.Void> |
onAuthenticationSuccess(org.springframework.security.core.Authentication authentication,
org.springframework.security.web.server.WebFilterExchange webFilterExchange) |
filter, setAuthenticationConverter, setAuthenticationFailureHandler, setAuthenticationSuccessHandler, setRequiresAuthenticationMatcher, setSecurityContextRepository, setServerAuthenticationConverterpublic OAuth2LoginAuthenticationWebFilter(org.springframework.security.authentication.ReactiveAuthenticationManager authenticationManager,
ServerOAuth2AuthorizedClientRepository authorizedClientRepository)
authenticationManager - the authentication manager to useauthorizedClientRepository - protected reactor.core.publisher.Mono<java.lang.Void> onAuthenticationSuccess(org.springframework.security.core.Authentication authentication,
org.springframework.security.web.server.WebFilterExchange webFilterExchange)
onAuthenticationSuccess in class org.springframework.security.web.server.authentication.AuthenticationWebFilter