Versions Compared

Key

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

...

  • 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.

Contents

...

Overview

The services.xml file contains a series of Spring bean lists "list" beans that specify the Spring Resources to load into various services. The lists are named with specific bean IDs that must not be changed, as these (see below) that direct the resources into the various services.

Properties

The following idp.properties may be set to control the reloading and fail-fast behavior of the various services. Missing properties will default a service to non-failfast and non-reloading behavior.

...

languagetext

...

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.

Warning

Do not remove any of the beans from services.xml unless you alter a corresponding property in services.properties to direct the service to a different resource list bean, or the IdP will fail to initialize with an error referencing the missing bean.

Beans

Beans defined in services.xml follow:

Bean IDTypeFunctionReloadable Service ID
shibboleth.RelyingPartyResolverResourcesjava.uti.ListRelyingPartyConfiguration resources for a new or migrated installation.shibboleth.RelyingPartyResolverService
shibboleth.LegacyRelyingPartyResolverResourcesjava.uti.ListRelyingPartyConfiguration using a deprecated V2 relying-party.xml file.shibboleth.RelyingPartyResolverService
shibboleth.MetadataResolverResourcesjava.uti.ListMetadataConfiguration resources.shibboleth.MetadataResolverService
shibboleth.AttributeResolverResourcesjava.uti.ListAttributeResolverConfiguration resources.shibboleth.AttributeResolverService
shibboleth.AttributeFilterResourcesjava.uti.ListAttributeFilterConfiguration resources.shibboleth.AttributeFilterService
shibboleth.NameIdentifierGenerationResourcesjava.uti.ListNameIDGenerationConfiguration resources.shibboleth.NameIdentifierGenerationService
shibboleth.AccessControlResourcesjava.uti.ListAccessControlConfiguration resources.shibboleth.ReloadableAccessControlService
shibboleth.MessageSourceResourcesjava.uti.ListInternationalizable user interface messages.N/A

Properties

Properties defined in services.properties follow:

PropertyDefaultFunction
idp.service.logging.resource%{idp.home}/conf/logback.xml 
idp.service.logging.failFastfalse 
idp.service.logging.checkInterval0 
   
idp.service.relyingparty.resourcesshibboleth.RelyingPartyResolverResources 
idp.service.relyingparty.failFastfalse 
idp.service.relyingparty.checkInterval0 
   
idp.service.metadata.resourcesshibboleth.MetadataResolverResources 
idp.service.metadata.failFastfalse 
idp.service.metadata.checkInterval0 
   
idp.service.attribute.resolver.resourcesshibboleth.AttributeResolverResources 
idp.service.attribute.resolver.failFast

...

false 
idp.service.attribute.resolver.checkInterval

...

0 
   
idp.service.attribute.filter.resourcesshibboleth.AttributeFilterResources 
idp.service.attribute.filter.failFast

...

false 
idp.service.attribute.filter.checkInterval

...

0 
   
idp.service.nameidGeneration.resourcesshibboleth.NameIdentifierGenerationResources 
idp.service.nameidGeneration.failFast

...

false 
idp.service.nameidGeneration

...

Notes

...

.checkInterval0 
   
idp.service.access.resourcesshibboleth.AccessControlResources 
idp.service.access.failFastfalse 
idp.service.access.checkInterval0 
   
idp.message.resourcesshibboleth.MessageSourceResources 
idp.message.cacheSeconds300 
   

idp.httpclient.connectionDisregardTLSCertificate

false 
idp.httpclient.connectionTimeout-1 
idp.httpclient.memorycaching.maxCacheEntries50 
idp.httpclient.memorycaching.maxCacheEntrySize1048576 
idp.httpclient.filecaching.maxCacheEntries100 
idp.httpclient.filecaching.maxCacheEntrySize10485760 

idp.httpclient.filecaching.cacheDirectory

None 

Advanced Notes

You can use any kind of Resource supported by Spring, along with additional custom resource types provided with the IdP for handling Subversion, HTTP, and file-backed HTTP resources.

...