クラス DelegatingMethodSecurityMetadataSource

  • 実装されたすべてのインターフェース:
    org.springframework.aop.framework.AopInfrastructureBeanMethodSecurityMetadataSourceSecurityMetadataSource

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

      • DelegatingMethodSecurityMetadataSource

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

      • getAttributes

        public java.util.Collection<ConfigAttribute> getAttributes​(java.lang.reflect.Method method,
                                                                   java.lang.Class<?> targetClass)
        使用すべきではありません。
      • getAllConfigAttributes

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

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

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

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