クラス ExceptionTranslationWebFilter
java.lang.ObjectSE
org.springframework.security.web.server.authorization.ExceptionTranslationWebFilter
- 実装されたすべてのインターフェース:
org.springframework.web.server.WebFilter
public class ExceptionTranslationWebFilter
extends ObjectSE
implements org.springframework.web.server.WebFilter
- 導入:
- 5.0
コンストラクターのサマリー
コンストラクターメソッドのサマリー
修飾子と型メソッド説明reactor.core.publisher.Mono<VoidSE>
filter
(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain) void
setAccessDeniedHandler
(ServerAccessDeniedHandler accessDeniedHandler) アクセス拒否ハンドラーを設定します。void
setAuthenticationEntryPoint
(ServerAuthenticationEntryPoint authenticationEntryPoint) 認証が必要なときに使用される認証エントリポイントを設定しますvoid
setAuthenticationTrustResolver
(AuthenticationTrustResolver authenticationTrustResolver) 認証トラストリゾルバーを設定します。
コンストラクターの詳細
ExceptionTranslationWebFilter
public ExceptionTranslationWebFilter()
メソッドの詳細
filter
public reactor.core.publisher.Mono<VoidSE> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain) - 次で指定:
- インターフェース
org.springframework.web.server.WebFilter
のfilter
setAccessDeniedHandler
アクセス拒否ハンドラーを設定します。- パラメーター:
accessDeniedHandler
- 使用するアクセス拒否ハンドラー。デフォルトは HttpStatusAccessDeniedHandler と HttpStatus.FORBIDDEN です
setAuthenticationEntryPoint
認証が必要なときに使用される認証エントリポイントを設定します- パラメーター:
authenticationEntryPoint
- 使用する認証エントリポイント。デフォルトはHttpBasicServerAuthenticationEntryPoint
です
setAuthenticationTrustResolver
認証トラストリゾルバーを設定します。- パラメーター:
authenticationTrustResolver
- 使用する認証トラストリゾルバー。デフォルトはAuthenticationTrustResolverImpl
です- 導入:
- 5.5