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.impl.PairwiseIdDataConnectorParser
net.shibboleth.idp.attribute.resolver.spring.dc.impl.ComputedIdDataConnectorParser
net.shibboleth.idp.attribute.resolver.spring.dc.impl.StoredIdDataConnectorParser
- All Implemented Interfaces:
BeanDefinitionParser
public class StoredIdDataConnectorParser extends ComputedIdDataConnectorParser
Spring bean definition parser for StoredIDDataConnector.
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
log
Class logger.static QName
TYPE_NAME_RESOLVER
Schema type - resolver.Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
Constructors Constructor Description StoredIdDataConnectorParser()
-
Method Summary
Modifier and Type Method Description protected BeanDefinition
doJDBCPairwiseIdStore(Element config, ParserContext parserContext)
Parse the config and define a bean for aJDBCPairwiseIdStore
.protected void
doParse(Element config, ParserContext parserContext, BeanDefinitionBuilder builder)
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, getBeanClass, getLogPrefix
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
-
doParse
protected void doParse(@Nonnull Element config, @Nonnull ParserContext parserContext, @Nonnull BeanDefinitionBuilder builder)- Overrides:
doParse
in classComputedIdDataConnectorParser
-
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
-