Class SecuredAnnotationSecurityMetadataSource

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

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