クラス HttpStatusServerEntryPoint
- java.lang.Object
-
- org.springframework.security.web.server.authentication.HttpStatusServerEntryPoint
- 実装されたすべてのインターフェース:
ServerAuthenticationEntryPoint
public class HttpStatusServerEntryPoint extends java.lang.Object implements ServerAuthenticationEntryPoint
汎用HttpStatus
をレスポンスとして送信するServerAuthenticationEntryPoint
。ブラウザーがレスポンスをインターセプトするため、基本認証を使用できない JavaScript クライアントに役立ちます。- 導入:
- 5.1
コンストラクターのサマリー
コンストラクター コンストラクター 説明 HttpStatusServerEntryPoint(org.springframework.http.HttpStatus httpStatus)
メソッドのサマリー
すべてのメソッド インスタンスメソッド 具象メソッド 修飾子と型 メソッド 説明 reactor.core.publisher.Mono<java.lang.Void>
commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException authException)
認証フローを開始します
メソッドの詳細
commence
public reactor.core.publisher.Mono<java.lang.Void> commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException authException)
インターフェースからコピーされた説明:ServerAuthenticationEntryPoint
認証フローを開始します- 次で指定:
- インターフェース
ServerAuthenticationEntryPoint
のcommence
- 戻り値:
- 認証のリクエストがいつ完了するかを示す
Mono<Void>