クラス OpaqueTokenAuthenticationProvider

    • メソッドのサマリー

      すべてのメソッド   インスタンスメソッド   具象メソッド  
      修飾子と型 メソッド 説明
      Authenticationauthenticate​(Authentication authentication)
      不透明なベアラートークンをイントロスペクトして検証します。
      booleansupports​(java.lang.Class<?> authentication)
      この AuthenticationProvider が指定された Authentication オブジェクトをサポートする場合、true を返します。
      • クラス java.lang.Object から継承されたメソッド

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • コンストラクターの詳細

      • OpaqueTokenAuthenticationProvider

        public OpaqueTokenAuthenticationProvider​(OpaqueTokenIntrospector introspector)
        指定されたパラメーターで OpaqueTokenAuthenticationProvider を作成します
        パラメーター:
        introspector - 使用する OpaqueTokenIntrospector
    • メソッドの詳細

      • supports

        public boolean supports​(java.lang.Class<?> authentication)
        インターフェースからコピーされた説明: AuthenticationProvider
        この AuthenticationProvider が指定された Authentication オブジェクトをサポートする場合、true を返します。

        true を返すことは、AuthenticationProvider が Authentication クラスの提示されたインスタンスを認証できることを保証しません。それは、それがより詳細な評価をサポートできることを示しています。AuthenticationProvider は、AuthenticationProvider.authenticate(Authentication) メソッドから null を返して、別の AuthenticationProvider を試す必要があることを示すことができます。

        認証を実行できる AuthenticationProvider の選択は、実行時に ProviderManager で行われます。

        次で指定:
        インターフェース AuthenticationProvidersupports 
        戻り値:
        実装が提示された Authentication クラスをより厳密に評価できる場合は true