Class ComputedIdDataConnectorParser
- java.lang.Object
-
- org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
-
- org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
-
- net.shibboleth.ext.spring.util.AbstractCustomBeanDefinitionParser
-
- net.shibboleth.idp.attribute.resolver.spring.BaseResolverPluginParser
-
- net.shibboleth.idp.attribute.resolver.spring.dc.AbstractDataConnectorParser
-
- net.shibboleth.idp.attribute.resolver.spring.dc.impl.PairwiseIdDataConnectorParser
-
- net.shibboleth.idp.attribute.resolver.spring.dc.impl.ComputedIdDataConnectorParser
-
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
StoredIdDataConnectorParser
public class ComputedIdDataConnectorParser extends PairwiseIdDataConnectorParser
Spring bean definition parser for configuring ComputedIdDataConnector.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogClass logger.static StringSERVLET_SUPPLIER_IDID of system bean used to access servlet request.static QNameTYPE_NAME_RESOLVERSchema type - resolver.-
Fields inherited from class net.shibboleth.idp.attribute.resolver.spring.dc.AbstractDataConnectorParser
ATTR_EXPORT_ALL, ATTR_EXPORT_NAMES, ATTR_FACTORY_POSTPROCESSORS_REF, ATTR_FAIL_FAST, ATTR_NORETRYDELAY, ATTR_POSTPROCESSORS_REF, ATTR_SPRING_RESOURCE, ATTR_SPRING_RESOURCE_REF, ELEMENT_NAME, FAILOVER_DATA_CONNECTOR_ELEMENT_NAME
-
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description ComputedIdDataConnectorParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BeanDefinitiondoComputedPairwiseIdStore(Element config, ParserContext parserContext)Parse the config and define a bean for aComputedPairwiseIdStore.protected voiddoV2Parse(Element config, ParserContext parserContext, BeanDefinitionBuilder builder)Parse the suppliedElementas a legacy format and populate the suppliedBeanDefinitionBuilderas required.-
Methods inherited from class net.shibboleth.idp.attribute.resolver.spring.dc.impl.PairwiseIdDataConnectorParser
doParse, getLogPrefix, getNativeBeanClass
-
Methods inherited from class net.shibboleth.idp.attribute.resolver.spring.dc.AbstractDataConnectorParser
doParse, getBeanClass, isNative
-
Methods inherited from class net.shibboleth.idp.attribute.resolver.spring.BaseResolverPluginParser
failOnDependencies, getActivationCondition, getDefinitionId, warnOnDependencies
-
Methods inherited from class net.shibboleth.ext.spring.util.AbstractCustomBeanDefinitionParser
registerBeanDefinition
-
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, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
-
-
-
Field Detail
-
TYPE_NAME_RESOLVER
@Nonnull public static final QName TYPE_NAME_RESOLVER
Schema type - resolver.
-
SERVLET_SUPPLIER_ID
@Nonnull @NotEmpty public static final String SERVLET_SUPPLIER_ID
ID of system bean used to access servlet request.- See Also:
- Constant Field Values
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
-
Method Detail
-
doV2Parse
protected void doV2Parse(@Nonnull Element config, @Nonnull ParserContext parserContext, @Nonnull BeanDefinitionBuilder builder)Parse the suppliedElementas a legacy format and populate the suppliedBeanDefinitionBuilderas required.- Overrides:
doV2Parsein classPairwiseIdDataConnectorParser- Parameters:
config- the XML element being parsedparserContext- the object encapsulating the current state of the parsing processbuilder- used to define theBeanDefinition- See Also:
AbstractSingleBeanDefinitionParser.doParse(Element, BeanDefinitionBuilder)
-
doComputedPairwiseIdStore
@Nonnull protected BeanDefinition doComputedPairwiseIdStore(@Nonnull Element config, @Nonnull ParserContext parserContext)
Parse the config and define a bean for aComputedPairwiseIdStore.- Parameters:
config- the XML element being parsedparserContext- the object encapsulating the current state of the parsing process- Returns:
- bean definition for the store object to inject
-
-