クラス RedirectServerAuthenticationEntryPoint
java.lang.ObjectSE
org.springframework.security.web.server.authentication.RedirectServerAuthenticationEntryPoint
- 実装されたすべてのインターフェース:
ServerAuthenticationEntryPoint
public class RedirectServerAuthenticationEntryPoint
extends ObjectSE
implements ServerAuthenticationEntryPoint
指定された場所へのリダイレクトを実行します。
- 導入:
- 5.0
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明reactor.core.publisher.Mono<VoidSE>
commence
(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException ex) 認証フローを開始しますvoid
setRedirectStrategy
(ServerRedirectStrategy redirectStrategy) 使用する RedirectStrategy を設定します。void
setRequestCache
(ServerRequestCache requestCache) リダイレクトを送信する前にリクエストを保存するために使用するリクエストキャッシュ。
コンストラクターの詳細
RedirectServerAuthenticationEntryPoint
インスタンスを作成します- パラメーター:
location
- リダイレクトする場所 (つまり、"/logout-success")
メソッドの詳細
setRequestCache
リダイレクトを送信する前にリクエストを保存するために使用するリクエストキャッシュ。- パラメーター:
requestCache
- リダイレクト先のキャッシュ。
commence
public reactor.core.publisher.Mono<VoidSE> commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException ex) インターフェースからコピーされた説明:ServerAuthenticationEntryPoint
認証フローを開始します- 次で指定:
- インターフェース
ServerAuthenticationEntryPoint
のcommence
- 戻り値:
- 認証のリクエストがいつ完了するかを示す
Mono<Void>
setRedirectStrategy
使用する RedirectStrategy を設定します。- パラメーター:
redirectStrategy
- 使用する戦略。デフォルトは DefaultRedirectStrategy です。