クラス 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
  • コンストラクターの詳細

    • 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.WebFilterfilter 
    • setAccessDeniedHandler

      public void setAccessDeniedHandler(ServerAccessDeniedHandler accessDeniedHandler)
      アクセス拒否ハンドラーを設定します。
      パラメーター:
      accessDeniedHandler - 使用するアクセス拒否ハンドラー。デフォルトは HttpStatusAccessDeniedHandler と HttpStatus.FORBIDDEN です
    • setAuthenticationEntryPoint

      public void setAuthenticationEntryPoint(ServerAuthenticationEntryPoint authenticationEntryPoint)
      認証が必要なときに使用される認証エントリポイントを設定します
      パラメーター:
      authenticationEntryPoint - 使用する認証エントリポイント。デフォルトは HttpBasicServerAuthenticationEntryPoint です
    • setAuthenticationTrustResolver

      public void setAuthenticationTrustResolver(AuthenticationTrustResolver authenticationTrustResolver)
      認証トラストリゾルバーを設定します。
      パラメーター:
      authenticationTrustResolver - 使用する認証トラストリゾルバー。デフォルトは AuthenticationTrustResolverImpl です
      導入:
      5.5