Class AbstractDataConnectorParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
net.shibboleth.shared.spring.custom.AbstractCustomBeanDefinitionParser
net.shibboleth.idp.attribute.resolver.spring.BaseResolverPluginParser
net.shibboleth.idp.attribute.resolver.spring.dc.AbstractDataConnectorParser
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
ContextDerivedDataConnectorParser,EntityAttributesDataConnectorParser,HTTPDataConnectorParser,LDAPDataConnectorParser,PairwiseIdDataConnectorParser,RDBMSDataConnectorParser,ScriptedDataConnectorParser,StaticDataConnectorParser,StorageServiceDataConnectorParser,SubjectDataConnectorParser
Base spring bean definition parser for data connectors. DataConnector implementations should provide a custom
BeanDefinitionParser by extending this class and overriding the
doParse(Element, ParserContext, BeanDefinitionBuilder) method to parse any additional attributes or elements
it requires. Standard attributes and elements defined by the ResolutionPlugIn and DataConnector schemas will
automatically attempt to be parsed.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringWhich attributes to export.static final StringFailfast LDAP, Realtional, Stored.static final StringDelay in retrying failed connector.static final QNameElement name.static final BooleanFailfast default.static final QNameFailover data connector attribute name.private final org.slf4j.LoggerLog4j logger.Fields inherited from class net.shibboleth.shared.spring.custom.AbstractCustomBeanDefinitionParser
CUSTOM_PARSER_PROPERTIES_LOCATIONFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoParse(Element config, ParserContext parserContext, BeanDefinitionBuilder builder) protected StringReturn a string which is to be prepended to all log messages.Methods inherited from class net.shibboleth.idp.attribute.resolver.spring.BaseResolverPluginParser
failOnDependencies, getActivationCondition, getDefinitionId, warnOnDependenciesMethods inherited from class net.shibboleth.shared.spring.custom.AbstractCustomBeanDefinitionParser
getCustomProperty, registerBeanDefinitionMethods inherited from class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
doParse, getBeanClass, getBeanClassName, getParentName, parseInternalMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Field Details
-
ELEMENT_NAME
Element name. -
ATTR_NORETRYDELAY
Delay in retrying failed connector.- See Also:
-
ATTR_EXPORT_NAMES
Which attributes to export.- See Also:
-
ATTR_FAIL_FAST
Failfast LDAP, Realtional, Stored.- See Also:
-
FAIL_FAST_DEFAULT
Failfast default. -
FAILOVER_DATA_CONNECTOR_ELEMENT_NAME
Failover data connector attribute name. -
log
@Nonnull private final org.slf4j.Logger logLog4j logger.
-
-
Constructor Details
-
AbstractDataConnectorParser
public AbstractDataConnectorParser()
-
-
Method Details
-
doParse
protected void doParse(@Nonnull Element config, @Nonnull ParserContext parserContext, @Nonnull BeanDefinitionBuilder builder) - Overrides:
doParsein classBaseResolverPluginParser
-
getLogPrefix
Return a string which is to be prepended to all log messages.- Overrides:
getLogPrefixin classBaseResolverPluginParser- Returns:
- "Data Connector: '<definitionID>' :"
-