Class StoredIdDataConnectorParser
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
net.shibboleth.idp.attribute.resolver.spring.dc.impl.StoredIdDataConnectorParser
- All Implemented Interfaces:
BeanDefinitionParser
Spring bean definition parser for StoredIDDataConnector.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.Logger
Class logger.static final QName
Schema type - resolver.Fields inherited from class net.shibboleth.idp.attribute.resolver.spring.dc.impl.ComputedIdDataConnectorParser
SERVLET_SUPPLIER_ID
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected BeanDefinition
doJDBCPairwiseIdStore
(Element config, ParserContext parserContext) Parse the config and define a bean for aJDBCPairwiseIdStore
.protected void
doV2Parse
(Element config, ParserContext parserContext, BeanDefinitionBuilder builder) Parse the suppliedElement
as a legacy format and populate the suppliedBeanDefinitionBuilder
as required.protected BeanDefinition
getv2DataSource
(Element config) Get the dataSource from a v2 configuration.Methods inherited from class net.shibboleth.idp.attribute.resolver.spring.dc.impl.ComputedIdDataConnectorParser
doComputedPairwiseIdStore
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 Details
-
TYPE_NAME_RESOLVER
Schema type - resolver. -
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
StoredIdDataConnectorParser
public StoredIdDataConnectorParser()
-
-
Method Details
-
doV2Parse
protected void doV2Parse(@Nonnull Element config, @Nonnull ParserContext parserContext, @Nonnull BeanDefinitionBuilder builder) Parse the suppliedElement
as a legacy format and populate the suppliedBeanDefinitionBuilder
as required.- Overrides:
doV2Parse
in classComputedIdDataConnectorParser
- Parameters:
config
- the XML element being parsedparserContext
- the object encapsulating the current state of the parsing processbuilder
- used to define theBeanDefinition
- See Also:
-
doJDBCPairwiseIdStore
@Nonnull protected BeanDefinition doJDBCPairwiseIdStore(@Nonnull Element config, @Nonnull ParserContext parserContext) Parse the config and define a bean for aJDBCPairwiseIdStore
.- 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
-
getv2DataSource
Get the dataSource from a v2 configuration.- Parameters:
config
- the DOM element under consideration.- Returns:
- the DataSource
-