Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Legacy V2 File(s): conf/services.xml

Table of Contents

Overview

The services.xml file is used to specify many of the other configuration files (or more generally, Spring Resources) to load to configure various important services within the IdP. The services.properties file provides a less granular way to identify the Spring beans containing the lists of resources, and also controls the dynamic reloading behavior of those services.

...

  • change the resources used, or more commonly add additional resources to supplement built-in defaults
  • configure more specialized approaches such as Subversion resources or remote HTTP resources
  • control how often to check for changes and reload configurations, if at all

V2 Compatibility

A similar function was performed by the services.xml file in 2.x, but in 3.0 this file is now a native Spring bean file and the older services XML schema is not supported or used.

...

The services.xml file contains a series of "list" beans that specify the Spring Resources to load into various services. The lists are named with specific bean IDs (see below) that direct the resources into the various services. If you wish to supply your own resource lists without modifying the delivered lists, you may control the bean IDs used by modifying services.properties.

...

PropertyTypeDefaultFunction
idp.service.logging.resourceResource path%{idp.home}/conf/logback.xmlLogging configuration resource to use
idp.service.logging.failFastBooleanfalseFail at startup if logging configuration is invalid
idp.service.logging.checkIntervalDuration0Time to notice changes to logging configuration and reload service
    
idp.service.relyingparty.resourcesBean IDshibboleth.RelyingPartyResolverResourcesName of Spring bean identifying resources to use for RelyingPartyConfiguration service
idp.service.relyingparty.failFastBooleanfalseFail at startup if RelyingPartyConfiguration is invalid
idp.service.relyingparty.checkIntervalDuration0Time to notice changes to RelyingPartyConfiguration configuration and reload service
    
idp.service.metadata.resourcesBean IDshibboleth.MetadataResolverResourcesName of Spring bean identifying resources to use for MetadataConfiguration service
idp.service.metadata.failFastBooleanfalseFail at startup if MetadataConfiguration is invalid
idp.service.metadata.checkIntervalDuration0Time to notice changes to MetadataConfiguration configuration and reload service
    
idp.service.attribute.resolver.resourcesBean IDshibboleth.AttributeResolverResourcesName of Spring bean identifying resources to use for AttributeResolverConfiguration service
idp.service.attribute.resolver.failFastBooleanfalseFail at startup if AttributeResolverConfiguration is invalid
idp.service.attribute.resolver.checkIntervalDuration0Time to notice changes to AttributeResolverConfiguration configuration and reload service
    
idp.service.attribute.filter.resourcesBean IDshibboleth.AttributeFilterResourcesName of Spring bean identifying resources to use for AttributeFilterConfiguration service
idp.service.attribute.filter.failFastBooleanfalseFail at startup if AttributeFilterConfiguration is invalid
idp.service.attribute.filter.checkIntervalDuration0Time to notice changes to AttributeFilterConfiguration configuration and reload service
    
idp.service.nameidGeneration.resourcesBean IDshibboleth.NameIdentifierGenerationResourcesName of Spring bean identifying resources to use for NameIDGenerationConfiguration service
idp.service.nameidGeneration.failFastBooleanfalseFail at startup if NameIDGenerationConfiguration is invalid
idp.service.nameidGeneration.checkIntervalDuration0Time to notice changes to NameIDGenerationConfiguration configuration and reload service
    
idp.service.access.resourcesBean IDshibboleth.AccessControlResourcesName of Spring bean identifying resources to use for AccessControlConfiguration service
idp.service.access.failFastBooleanfalseFail at startup if AccessControlConfiguration is invalid
idp.service.access.checkIntervalDuration0Time to notice changes to AccessControlConfiguration configuration and reload service
    
idp.message.resourcesBean IDshibboleth.MessageSourceResourcesName of Spring bean identifying Spring message property resources
idp.message.cacheSecondsInteger300Seconds between reloads of message property resources
    

idp.httpclient.connectionDisregardTLSCertificate

BooleanfalseWhether to ignore TLS certificates by default when loading an HTTPResource
idp.httpclient.connectionTimeoutInteger-1Default connection timeout for HTTPResource (-1 for none)
idp.httpclient.memorycaching.maxCacheEntriesInteger50Maximum number of cache entries when using the "shibboleth.MemoryCachingHttpClient" bean
idp.httpclient.memorycaching.maxCacheEntrySizeInteger1048576Maximum size of cache when using the "shibboleth.MemoryCachingHttpClient" bean
idp.httpclient.filecaching.maxCacheEntriesInteger100Maximum number of cache entries when using the "shibboleth.FileCachingHttpClient" bean
idp.httpclient.filecaching.maxCacheEntrySizeInteger10485760Maximum size of cache when using the "shibboleth.FileCachingHttpClient" bean

idp.httpclient.filecaching.cacheDirectory

File pathNoneDirectory location of cache when using the "shibboleth.FileCachingHttpClient" bean

V2 Compatibility

A similar function was performed by the services.xml file in 2.x, but in 3.0 this file is now a native Spring bean file and the older services XML schema is not supported or used.

Advanced Notes