Class SecurityEnabledAwareProcessor

  • All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanPostProcessor

    public class SecurityEnabledAwareProcessor
    extends Object
    implements org.springframework.beans.factory.config.BeanPostProcessor
    BeanPostProcessor implementation that passes the securityEnabled property to beans that implement the SecurityEnabledAware interface.
    Author:
    Alfonso Vásquez
    • Constructor Detail

      • SecurityEnabledAwareProcessor

        @ConstructorProperties("securityEnabled")
        public SecurityEnabledAwareProcessor​(boolean securityEnabled)
    • Method Detail

      • postProcessBeforeInitialization

        public Object postProcessBeforeInitialization​(Object bean,
                                                      String beanName)
                                               throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
        Throws:
        org.springframework.beans.BeansException
      • postProcessAfterInitialization

        public Object postProcessAfterInitialization​(Object bean,
                                                     String beanName)
                                              throws org.springframework.beans.BeansException
        Specified by:
        postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
        Throws:
        org.springframework.beans.BeansException