Class StaticDataConnectorParser
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.StaticDataConnectorParser
- All Implemented Interfaces:
BeanDefinitionParser
Bean definition Parser for a
StaticDataConnector.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QNameLocal name of attribute.private final org.slf4j.LoggerClass logger.static final QNameSchema 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_NAMEFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoV2Parse(Element config, ParserContext parserContext, BeanDefinitionBuilder builder) Parse the suppliedElementas a legacy format and populate the suppliedBeanDefinitionBuilderas required.protected Class<StaticDataConnector>Per parser indication of what we are building.protected booleanControls parsing of Dependencies.Methods inherited from class net.shibboleth.idp.attribute.resolver.spring.dc.AbstractDataConnectorParser
doParse, getBeanClass, getLogPrefix, isNativeMethods inherited from class net.shibboleth.idp.attribute.resolver.spring.BaseResolverPluginParser
failOnDependencies, getActivationCondition, getDefinitionIdMethods inherited from class net.shibboleth.ext.spring.util.AbstractCustomBeanDefinitionParser
registerBeanDefinitionMethods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClassName, getParentName, parseInternalMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Field Details
-
TYPE_NAME_RESOLVER
Schema type - resolver. -
ATTRIBUTE_ELEMENT_NAME_RESOLVER
Local name of attribute. -
log
@Nonnull private final org.slf4j.Logger logClass logger.
-
-
Constructor Details
-
StaticDataConnectorParser
public StaticDataConnectorParser()
-
-
Method Details
-
getNativeBeanClass
Per parser indication of what we are building.- Specified by:
getNativeBeanClassin classAbstractDataConnectorParser- Returns:
- the class
-
doV2Parse
protected void doV2Parse(@Nonnull Element config, @Nonnull ParserContext parserContext, @Nonnull BeanDefinitionBuilder builder) Parse the suppliedElementas a legacy format and populate the suppliedBeanDefinitionBuilderas required.- Specified by:
doV2Parsein classAbstractDataConnectorParser- Parameters:
config- the XML element being parsedparserContext- the object encapsulating the current state of the parsing processbuilder- used to define theBeanDefinition- See Also:
-
warnOnDependencies
protected boolean warnOnDependencies()Controls parsing of Dependencies. If it is considered an invalid configuration for this resolver to have Dependency statements, return true. The surrounding logic will issue warning.- Overrides:
warnOnDependenciesin classBaseResolverPluginParser- Returns:
- false - by default.
-