クラス DelegatingMethodSecurityMetadataSource

java.lang.ObjectSE
org.springframework.security.access.method.AbstractMethodSecurityMetadataSource
org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource
実装されたすべてのインターフェース:
org.springframework.aop.framework.AopInfrastructureBeanMethodSecurityMetadataSourceSecurityMetadataSource

@DeprecatedSE public final class DelegatingMethodSecurityMetadataSource extends AbstractMethodSecurityMetadataSource
使用すべきではありません。
代わりに <method-security> および <intercept-methods> に use-authorization-manager 属性を使用するか、アノテーションベースまたは AuthorizationManager ベースの認可を使用します。
non-null/non-empty レスポンスを提供するメタデータの最初のソースに依存して、一連のメソッド定義ソースを自動的に試行します。取得したメタデータの自動キャッシュを提供します。
  • コンストラクターの詳細

    • DelegatingMethodSecurityMetadataSource

      public DelegatingMethodSecurityMetadataSource(ListSE<MethodSecurityMetadataSource> methodSecurityMetadataSources)
      使用すべきではありません。
  • メソッドの詳細

    • getAttributes

      public CollectionSE<ConfigAttribute> getAttributes(MethodSE method, ClassSE<?> targetClass)
      使用すべきではありません。
    • getAllConfigAttributes

      public CollectionSE<ConfigAttribute> getAllConfigAttributes()
      使用すべきではありません。
      インターフェースからコピーされた説明: SecurityMetadataSource
      使用可能な場合、実装クラスによって定義されたすべての ConfigAttribute を返します。

      これは、AbstractSecurityInterceptor に対して構成されている各 ConfigAttribute の起動時検証を実行するために使用されます。

      戻り値:
      サポートされていない場合は ConfigAttribute または null 
    • getMethodSecurityMetadataSources

      public ListSE<MethodSecurityMetadataSource> getMethodSecurityMetadataSources()
      使用すべきではありません。