クラス Saml2MetadataFilter

  • 実装されたすべてのインターフェース:
    javax.servlet.Filterorg.springframework.beans.factory.Awareorg.springframework.beans.factory.BeanNameAwareorg.springframework.beans.factory.DisposableBeanorg.springframework.beans.factory.InitializingBeanorg.springframework.context.EnvironmentAwareorg.springframework.core.env.EnvironmentCapableorg.springframework.web.context.ServletContextAware

    public final class Saml2MetadataFilter
    extends org.springframework.web.filter.OncePerRequestFilter
    証明書利用者のメタデータを返す Filter 
    導入:
    5.4
    • フィールドサマリー

      フィールド  
      修飾子と型 フィールド 説明
      static java.lang.StringDEFAULT_METADATA_FILE_NAME
      • クラス org.springframework.web.filter.OncePerRequestFilter から継承されたフィールド

        ALREADY_FILTERED_SUFFIX
      • クラス org.springframework.web.filter.GenericFilterBean から継承されたフィールド

        logger
    • メソッドのサマリー

      すべてのメソッド   インスタンスメソッド   具象メソッド  
      修飾子と型 メソッド 説明
      protected voiddoFilterInternal​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
      voidsetMetadataFilename​(java.lang.String metadataFilename)
      {registrationId} テンプレート変数を含むメタデータファイル名テンプレートを設定します。
      voidsetRequestMatcher​(RequestMatcher requestMatcher)
      このフィルターが受信 HttpServletRequest を処理するかどうかを決定する RequestMatcher を設定します
      • クラス org.springframework.web.filter.OncePerRequestFilter から継承されたメソッド

        doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
      • クラス org.springframework.web.filter.GenericFilterBean から継承されたメソッド

        addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
      • クラス java.lang.Object から継承されたメソッド

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • フィールドの詳細

      • DEFAULT_METADATA_FILE_NAME

        public static final java.lang.String DEFAULT_METADATA_FILE_NAME
        関連事項:
        定数フィールド値
    • メソッドの詳細

      • doFilterInternal

        protected void doFilterInternal​(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        javax.servlet.FilterChain chain)
                                 throws javax.servlet.ServletException,
                                        java.io.IOException
        次で指定:
        クラス org.springframework.web.filter.OncePerRequestFilterdoFilterInternal 
        例外:
        javax.servlet.ServletException
        java.io.IOException
      • setRequestMatcher

        public void setRequestMatcher​(RequestMatcher requestMatcher)
        このフィルターが受信 HttpServletRequest を処理するかどうかを決定する RequestMatcher を設定します
        パラメーター:
        requestMatcher - メタデータのリクエストを識別するための RequestMatcher
      • setMetadataFilename

        public void setMetadataFilename​(java.lang.String metadataFilename)
        {registrationId} テンプレート変数を含むメタデータファイル名テンプレートを設定します。

        デフォルト値は saml-{registrationId}-metadata.xml です

        パラメーター:
        metadataFilename - メタデータファイル名。{registrationId} が含まれている必要があります
        導入:
        5.5