Class SecuredChannelsParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
org.springframework.integration.security.config.SecuredChannelsParser
- All Implemented Interfaces:
BeanDefinitionParser
@Deprecated(since="6.0")
public class SecuredChannelsParser
extends AbstractSingleBeanDefinitionParser
Deprecated.
Creates a
ChannelSecurityInterceptor
to control send and receive access, and creates a bean post-processor to apply the
interceptor to MessageChannel
s
whose names match the specified patterns.- Author:
- Jonas Partner, Mark Fisher, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doParse
(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) Deprecated.protected Class<?>
getBeanClass
(Element element) Deprecated.protected boolean
Deprecated.Methods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternal
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
SecuredChannelsParser
public SecuredChannelsParser()Deprecated.
-
-
Method Details
-
getBeanClass
Deprecated.- Overrides:
getBeanClass
in classAbstractSingleBeanDefinitionParser
-
shouldGenerateId
protected boolean shouldGenerateId()Deprecated.- Overrides:
shouldGenerateId
in classAbstractBeanDefinitionParser
-
doParse
Deprecated.- Overrides:
doParse
in classAbstractSingleBeanDefinitionParser
-
new AuthorizationChannelInterceptor(AuthorityAuthorizationManager.hasAnyRole())