Class TaskExecutorSecurityContextDelegatePostProcessor

java.lang.Object
ubic.gemma.core.security.concurrent.TaskExecutorSecurityContextDelegatePostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class TaskExecutorSecurityContextDelegatePostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
Post-processor that wraps TaskExecutor, AsyncTaskExecutor and SchedulingTaskExecutor with a DelegatingSecurityContextTaskExecutor.
Author:
poirigui
  • Constructor Details

    • TaskExecutorSecurityContextDelegatePostProcessor

      public TaskExecutorSecurityContextDelegatePostProcessor()
  • Method Details

    • 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