public abstract class AbstractService {
public void doSmth() {...}
}
@Secured("SECURE")
@Service
public class Service extends AbstractService {
...
}
and when I call service.doSmth(), security is not applied, because method org.springframework.security.authorization.method.SecuredAuthorizationManager.SecuredAuthorizationManagerRegistry#findSecuredAnnotation will try to get annotation of AbstractService, not of Service.