org.springframework.integration.security.config
Class SecurityPropagatingBeanPostProcessor
java.lang.Object
org.springframework.integration.security.config.SecurityPropagatingBeanPostProcessor
- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.Ordered
public class SecurityPropagatingBeanPostProcessor
- extends java.lang.Object
- implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.Ordered
Post processes channels applying appropriate propagation behaviour. If
default propagation is specified with a secure-channels tag, that will be
applied in the absence of a secured tag for the channel. If the secured tag
is specified, it will always determine propagation behaviour.
- Author:
- Jonas Partner
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SECURITY_PROPAGATING_BEAN_POST_PROCESSOR_NAME
protected static final java.lang.String SECURITY_PROPAGATING_BEAN_POST_PROCESSOR_NAME
interceptor
private final SecurityContextPropagatingChannelInterceptor interceptor
logger
private final org.apache.commons.logging.Log logger
includeExcludeList
private final OrderedIncludeExcludeList includeExcludeList
SecurityPropagatingBeanPostProcessor
public SecurityPropagatingBeanPostProcessor(OrderedIncludeExcludeList includeExcludeList)
getOrder
public int getOrder()
- Specified by:
getOrder
in interface org.springframework.core.Ordered
postProcessBeforeInitialization
public java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
java.lang.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 java.lang.Object postProcessAfterInitialization(java.lang.Object bean,
java.lang.String beanName)
throws org.springframework.beans.BeansException
- Specified by:
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
- Throws:
org.springframework.beans.BeansException