クラス OAuth2LoginAuthenticationWebFilter
java.lang.ObjectSE
org.springframework.security.web.server.authentication.AuthenticationWebFilter
org.springframework.security.oauth2.client.web.server.authentication.OAuth2LoginAuthenticationWebFilter
- 実装されたすべてのインターフェース:
org.springframework.web.server.WebFilter
OAuth2LoginAuthenticationToken
から OAuth2AuthenticationToken
に変換して OAuth2AuthorizedClient
を保存する特殊な AuthenticationWebFilter
- 導入:
- 5.1
コンストラクターのサマリー
コンストラクターコンストラクター説明OAuth2LoginAuthenticationWebFilter
(ReactiveAuthenticationManager authenticationManager, ServerOAuth2AuthorizedClientRepository authorizedClientRepository) インスタンスを作成しますメソッドのサマリー
修飾子と型メソッド説明protected reactor.core.publisher.Mono<VoidSE>
onAuthenticationSuccess
(Authentication authentication, WebFilterExchange webFilterExchange) クラス org.springframework.security.web.server.authentication.AuthenticationWebFilter から継承されたメソッド
filter, setAuthenticationConverter, setAuthenticationFailureHandler, setAuthenticationSuccessHandler, setRequiresAuthenticationMatcher, setSecurityContextRepository, setServerAuthenticationConverter
コンストラクターの詳細
OAuth2LoginAuthenticationWebFilter
public OAuth2LoginAuthenticationWebFilter(ReactiveAuthenticationManager authenticationManager, ServerOAuth2AuthorizedClientRepository authorizedClientRepository) インスタンスを作成します- パラメーター:
authenticationManager
- 使用する認証マネージャーauthorizedClientRepository
-
メソッドの詳細
onAuthenticationSuccess
protected reactor.core.publisher.Mono<VoidSE> onAuthenticationSuccess(Authentication authentication, WebFilterExchange webFilterExchange) - オーバーライド:
- クラス
AuthenticationWebFilter
のonAuthenticationSuccess