|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
edu.internet2.middleware.shibboleth.common.config.metadata.BaseMetadataProviderBeanDefinitionParser
edu.internet2.middleware.shibboleth.common.config.metadata.AbstractMetadataProviderBeanDefinitionParser
edu.internet2.middleware.shibboleth.common.config.metadata.AbstractReloadingMetadataProviderBeanDefinitionParser
edu.internet2.middleware.shibboleth.common.config.metadata.HTTPMetadataProviderBeanDefinitionParser
public class HTTPMetadataProviderBeanDefinitionParser
Spring bean definition parser for Shibboleth file backed url metadata provider definition.
Field Summary | |
---|---|
private org.slf4j.Logger |
log
Class logger. |
static QName |
TYPE_NAME
Schema type name. |
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser |
---|
ID_ATTRIBUTE |
Constructor Summary | |
---|---|
HTTPMetadataProviderBeanDefinitionParser()
|
Method Summary | |
---|---|
protected org.apache.commons.httpclient.HttpClient |
buildHttpClient(Element config,
String providerId,
URL metadataURL)
Builds the HTTP client used to fetch metadata. |
protected X509TrustManager |
buildNoTrustTrustManager()
Builds a X509TrustManager which bypasses all X.509 validation steps. |
protected void |
doParse(Element config,
org.springframework.beans.factory.xml.ParserContext parserContext,
org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
|
protected Class |
getBeanClass(Element element)
|
protected void |
setHttpBasicAuthSettings(org.apache.commons.httpclient.HttpClient httpClient,
Element config,
String providerId,
URL metadataURL)
Sets the basic authentication properties, if any, for the HTTP client used to fetch metadata. |
protected void |
setHttpProxySettings(org.opensaml.ws.soap.client.http.HttpClientBuilder builder,
Element config,
String providerId)
Sets the HTTP proxy properties, if any, for the HTTP client used to fetch metadata. |
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.metadata.AbstractReloadingMetadataProviderBeanDefinitionParser |
---|
getMaxRefreshDelay, getMinRefreshDelay, getParserPoolRef, getRefreshDelayFactor, getTaskTimerRef |
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.metadata.AbstractMetadataProviderBeanDefinitionParser |
---|
getFailFastInitialization |
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.metadata.BaseMetadataProviderBeanDefinitionParser |
---|
getProviderId, getRequireValidMetadata |
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, registerBeanDefinition, resolveId, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final QName TYPE_NAME
private org.slf4j.Logger log
Constructor Detail |
---|
public HTTPMetadataProviderBeanDefinitionParser()
Method Detail |
---|
protected Class getBeanClass(Element element)
getBeanClass
in class org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser
protected void doParse(Element config, org.springframework.beans.factory.xml.ParserContext parserContext, org.springframework.beans.factory.support.BeanDefinitionBuilder builder)
doParse
in class AbstractReloadingMetadataProviderBeanDefinitionParser
protected org.apache.commons.httpclient.HttpClient buildHttpClient(Element config, String providerId, URL metadataURL)
config
- the metadata provider configuration elementproviderId
- the ID of the metadata providermetadataURL
- the URL from which metadata will be fetched
protected X509TrustManager buildNoTrustTrustManager()
X509TrustManager
which bypasses all X.509 validation steps.
protected void setHttpProxySettings(org.opensaml.ws.soap.client.http.HttpClientBuilder builder, Element config, String providerId)
builder
- the HTTP client builderconfig
- the metadata provider configurationproviderId
- the ID of the metadata providerprotected void setHttpBasicAuthSettings(org.apache.commons.httpclient.HttpClient httpClient, Element config, String providerId, URL metadataURL)
httpClient
- the HTTP clientconfig
- the metadata provider configurationproviderId
- the ID of the metadata providermetadataURL
- the URL from which metadata will be fetched
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |