HTTP Client Attributes

Tom Scavo trscavo at gmail.com
Wed May 2 08:13:34 EDT 2018


I'm trying to reconcile the attributes on
FileBackedHTTPMetadataProvider [1] and DynamicHTTPMetadataProvider.
[2] The following attributes are common to both metadata providers:

disregardTLSCertificate
connectionRequestTimeout
requestTimeout (DEPRECATED)
connectionTimeout
socketTimeout
proxyHost
proxyPort
proxyUser
proxyPassword
basicAuthUser
basicAuthPassword
httpCaching
httpCacheDirectory
httpMaxCacheEntries
httpMaxCacheEntrySize
httpClientRef (all of the above are incompatible w/ httpClientRef)
httpClientSecurityParametersRef
tlsTrustEngineRef

OTOH, the following attributes are absent from
FileBackedHTTPMetadataProvider but present on
DynamicHTTPMetadataProvider:

supportedContentTypes
disregardSslCertificate (DEPRECATED)
maxConnectionsTotal
maxConnectionsPerRoute

That seems to be an oversight. Can someone confirm the following?

1. The latter four attributes apply to FileBackedHTTPMetadataProvider as well.

2. The latter three attributes are incompatible with httpClientRef.

3. The supportedContentTypes attribute is independent of httpClientRef.

Thanks,

Tom

[1] https://wiki.shibboleth.net/confluence/x/kQInAQ
[2] https://wiki.shibboleth.net/confluence/x/o4AgAQ


More information about the dev mailing list