クラス FirewalledRequest

java.lang.ObjectSE
jakarta.servlet.ServletRequestWrapper
jakarta.servlet.http.HttpServletRequestWrapper
org.springframework.security.web.firewall.FirewalledRequest
実装されたすべてのインターフェース:
jakarta.servlet.http.HttpServletRequestjakarta.servlet.ServletRequest

public abstract class FirewalledRequest extends jakarta.servlet.http.HttpServletRequestWrapper
HttpFirewall インターフェースによって返されるリクエストラッパー。

唯一の違いは、リクエストがセキュリティフィルターチェーンを離れたときに、一部またはすべての状態を FilterChainProxy によってリセットできる reset メソッドです。

  • フィールドサマリー

    インターフェース jakarta.servlet.http.HttpServletRequest から継承されたフィールド

    BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
    FirewalledRequest(jakarta.servlet.http.HttpServletRequest request)
    指定されたリクエストをラップするリクエストオブジェクトを構築します。
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    abstract void
    このメソッドは、リクエストがセキュリティフィルターチェーンを通過すると、適切なアプリケーションに進む直前に呼び出されます。

    クラス jakarta.servlet.http.HttpServletRequestWrapper から継承されたメソッド

    authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getHttpServletMapping, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getTrailerFields, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isTrailerFieldsReady, isUserInRole, login, logout, newPushBuilder, upgrade

    クラス jakarta.servlet.ServletRequestWrapper から継承されたメソッド

    getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getRequestId, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsync

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE

    インターフェース jakarta.servlet.ServletRequest から継承されたメソッド

    getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getProtocolRequestId, getReader, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getRequestId, getScheme, getServerName, getServerPort, getServletConnection, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsync
  • コンストラクターの詳細

    • FirewalledRequest

      public FirewalledRequest(jakarta.servlet.http.HttpServletRequest request)
      指定されたリクエストをラップするリクエストオブジェクトを構築します。
      例外:
      IllegalArgumentExceptionSE - リクエストが null の場合
  • メソッドの詳細

    • reset

      public abstract void reset()
      このメソッドは、リクエストがセキュリティフィルターチェーンを通過すると、適切なアプリケーションに進む直前に呼び出されます。

      実装は、元の HttpServletRequest を維持しながら、セキュリティインフラストラクチャのリクエストの状態を変更することを選択できます。

    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString