Class ChannelSecurityInterceptorBeanPostProcessor

java.lang.Object
org.springframework.aop.framework.ProxyConfig
org.springframework.aop.framework.ProxyProcessorSupport
org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
org.springframework.integration.security.config.ChannelSecurityInterceptorBeanPostProcessor
All Implemented Interfaces:
Serializable, org.springframework.aop.framework.AopInfrastructureBean, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor, org.springframework.core.Ordered

@Deprecated(since="6.0") public class ChannelSecurityInterceptorBeanPostProcessor extends org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
Deprecated.
since 6.0 in favor of literally new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())
A BeanPostProcessor that proxies MessageChannels to apply a ChannelSecurityInterceptor.
See Also:
  • Field Summary

    Fields inherited from class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator

    DO_NOT_PROXY, logger, PROXY_WITHOUT_ADDITIONAL_INTERCEPTORS

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object[]
    getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, org.springframework.aop.TargetSource customTargetSource)
    Deprecated.
     
    Deprecated.
     

    Methods inherited from class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator

    advisorsPreFiltered, buildAdvisors, createProxy, customizeProxyFactory, determineBeanType, determineCandidateConstructors, getBeanFactory, getCacheKey, getCustomTargetSource, getEarlyBeanReference, isFrozen, isInfrastructureClass, postProcessAfterInitialization, postProcessBeforeInstantiation, postProcessProperties, predictBeanType, setAdvisorAdapterRegistry, setApplyCommonInterceptorsFirst, setBeanFactory, setCustomTargetSourceCreators, setFrozen, setInterceptorNames, shouldProxyTargetClass, shouldSkip, wrapIfNecessary

    Methods inherited from class org.springframework.aop.framework.ProxyProcessorSupport

    evaluateProxyInterfaces, getOrder, getProxyClassLoader, isConfigurationCallbackInterface, isInternalLanguageInterface, setBeanClassLoader, setOrder, setProxyClassLoader

    Methods inherited from class org.springframework.aop.framework.ProxyConfig

    copyFrom, isExposeProxy, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setOpaque, setOptimize, setProxyTargetClass, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor

    postProcessAfterInstantiation
  • Constructor Details

    • ChannelSecurityInterceptorBeanPostProcessor

      public ChannelSecurityInterceptorBeanPostProcessor(Map<String,Set<Pattern>> securityInterceptorMappings)
      Deprecated.
    • ChannelSecurityInterceptorBeanPostProcessor

      public ChannelSecurityInterceptorBeanPostProcessor(Map<String,Set<Pattern>> securityInterceptorMappings, Map<String,Map<Pattern,ChannelAccessPolicy>> accessPolicyMapping)
      Deprecated.
  • Method Details

    • postProcessBeforeInitialization

      public Object postProcessBeforeInitialization(Object bean, String beanName)
      Deprecated.
    • getAdvicesAndAdvisorsForBean

      @Nullable protected Object[] getAdvicesAndAdvisorsForBean(Class<?> beanClass, String beanName, @Nullable org.springframework.aop.TargetSource customTargetSource) throws org.springframework.beans.BeansException
      Deprecated.
      Specified by:
      getAdvicesAndAdvisorsForBean in class org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator
      Throws:
      org.springframework.beans.BeansException