Class SecuredAnnotationSecurityMetadataSource

All Implemented Interfaces:
org.springframework.aop.framework.AopInfrastructureBean, MethodSecurityMetadataSource, SecurityMetadataSource

@Deprecated public class SecuredAnnotationSecurityMetadataSource extends AbstractFallbackMethodSecurityMetadataSource
Sources method security metadata from Spring Security's Secured annotation.

Can also be used with custom security annotations by injecting an AnnotationMetadataExtractor. The annotation type will then be obtained from the generic parameter type supplied to this interface

  • Constructor Details

    • SecuredAnnotationSecurityMetadataSource

      public SecuredAnnotationSecurityMetadataSource()
      Deprecated.
    • SecuredAnnotationSecurityMetadataSource

      public SecuredAnnotationSecurityMetadataSource(AnnotationMetadataExtractor annotationMetadataExtractor)
      Deprecated.
  • Method Details