クラス BearerTokenServerAuthenticationEntryPoint
java.lang.ObjectSE
org.springframework.security.oauth2.server.resource.web.server.BearerTokenServerAuthenticationEntryPoint
- 実装されたすべてのインターフェース:
ServerAuthenticationEntryPoint
public final class BearerTokenServerAuthenticationEntryPoint
extends ObjectSE
implements ServerAuthenticationEntryPoint
BearerTokenAuthenticationFilter
を使用して保護されたリソースリクエストの認証を開始するために使用される AuthenticationEntryPoint
実装。BearerTokenError
から提供された情報を使用して、HTTP レスポンスステータスコードを設定し、WWW-Authenticate
HTTP ヘッダーに入力します。
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明reactor.core.publisher.Mono<VoidSE>
commence
(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException authException) 認証フローを開始しますvoid
setRealmName
(StringSE realmName)
コンストラクターの詳細
BearerTokenServerAuthenticationEntryPoint
public BearerTokenServerAuthenticationEntryPoint()
メソッドの詳細
setRealmName
commence
public reactor.core.publisher.Mono<VoidSE> commence(org.springframework.web.server.ServerWebExchange exchange, AuthenticationException authException) インターフェースからコピーされた説明:ServerAuthenticationEntryPoint
認証フローを開始します- 次で指定:
- インターフェース
ServerAuthenticationEntryPoint
のcommence
- 戻り値:
- 認証のリクエストがいつ完了するかを示す
Mono<Void>