public class DynamicHTTPMetadataProviderParser extends AbstractDynamicHTTPMetadataProviderParser
FunctionDrivenDynamicHTTPMetadataResolver.| Modifier and Type | Field and Description |
|---|---|
private static String |
DEFAULT_VELOCITY_ENGINE_REF
Name of default VelocityEngine bean to use.
|
static QName |
ELEMENT_NAME
Element name.
|
private static QName |
METADATA_QUERY_PROTOCOL
MetadataQueryProtocol child element name.
|
private static QName |
REGEX
Regex child element name.
|
private static QName |
TEMPLATE
Template child element name.
|
CHAINING_PROVIDER_ELEMENT_NAME, METADATA_FILTER_ELEMENT_NAME, METADATA_NAMESPACE, RELYING_PARTY_GROUP_ELEMENT_NAME, RP_NAMESPACE, SECURITY_NAMESPACE, TRUST_ENGINE_ELEMENT_NAME| Constructor and Description |
|---|
DynamicHTTPMetadataProviderParser() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doNativeParse(Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
Parse the element into the provider builder.
|
protected Class<? extends MetadataResolver> |
getNativeBeanClass(Element element)
Return the real class implement by this type.
|
protected org.springframework.beans.factory.config.BeanDefinition |
getRequestURLBuilder(Element element)
Build and return an instance of the
Function used as the request URL builder. |
private String |
parseTemplateEncodingStyle(Element template)
Parse the 'encodingStyle' and 'encoded' attributes for Template element types.
|
getParserPoolRef, getTaskTimerRef, processPersistentCachingPropertiesdoParse, getBeanClassdoParse, getBeanClassName, getParentName, parseInternalpublic static final QName ELEMENT_NAME
private static final QName TEMPLATE
private static final QName REGEX
private static final QName METADATA_QUERY_PROTOCOL
private static final String DEFAULT_VELOCITY_ENGINE_REF
protected Class<? extends MetadataResolver> getNativeBeanClass(Element element)
AbstractSingleBeanDefinitionParser.getBeanClass(Element) but it may need to be shimmed in
AbstractMetadataProviderParser which may need to insert an extra bean.getNativeBeanClass in class AbstractMetadataProviderParserelement - the Element that is being parsedClass of the bean that is being defined via parsing the supplied Element, or
null if noneAbstractSingleBeanDefinitionParser.getBeanClassName(org.w3c.dom.Element)protected void doNativeParse(Element element, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
AbstractSingleBeanDefinitionParser.doParse(Element, ParserContext, BeanDefinitionBuilder) but it may need
to be shimmed in this class which may need to insert an extra bean.
We assume that we will be summoning up a class which extends an
AbstractDynamicMetadataResolver.doNativeParse in class AbstractDynamicHTTPMetadataProviderParserelement - the XML element being parsedparserContext - the object encapsulating the current state of the parsing processbuilder - used to define the BeanDefinitionAbstractSingleBeanDefinitionParser.doParse(Element, BeanDefinitionBuilder)protected org.springframework.beans.factory.config.BeanDefinition getRequestURLBuilder(Element element)
Function used as the request URL builder.element - the parent metadata provider elementCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.