Bunch o' bug fixes, all IdP configuration files now load.
[java-idp.git] / resources / conf / service.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!-- 
4     This file contains definitions to standalone subsystems, or services, used by the IdP.  These 
5     services include things such as the attribute resolver and filtering engines as well as the 
6     relying party configuration manager.
7     
8     Reloadable services (profile handler manager, relying party configuration manager, attribute resolver, and 
9     attribute filtering engine) can be configured to poll their configuration files on a given frequency and 
10     reload those files if they've changed.  Enable this feature by adding an attribute, on the Service element, 
11     named configurationResourcePollingFrequency whose value is the frequency, in milliseconds, to poll the file(s).
12     A second attribute, configurationResourcePollingRetryAttempts, specifies the number of times a particular 
13     configuration file may be cause an error before the service stops trying to load it.
14  -->
15
16 <IdPConfig xmlns="urn:mace:shibboleth:2.0:idp:services" xmlns:service="urn:mace:shibboleth:2.0:services"
17     xmlns:profile="urn:mace:shibboleth:2.0:profile-handler" xmlns:relyingParty="urn:mace:shibboleth:2.0:relying-party"
18     xmlns:resolver="urn:mace:shibboleth:2.0:resolver" xmlns:afp="urn:mace:shibboleth:2.0:afp"
19     xmlns:resource="urn:mace:shibboleth:2.0:resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20     xsi:schemaLocation="urn:mace:shibboleth:2.0:idp:services classpath:/schema/shibboleth-2.0-idp-service.xsd
21                         urn:mace:shibboleth:2.0:services classpath:/schema/shibboleth-2.0-services.xsd
22                         urn:mace:shibboleth:2.0:profile-handler classpath:/schema/shibboleth-2.0-profile-handler.xsd
23                         urn:mace:shibboleth:2.0:relying-party classpath:/schema/shibboleth-2.0-relying-party.xsd
24                         urn:mace:shibboleth:2.0:resolver classpath:/schema/shibboleth-2.0-attribute-resolver.xsd
25                         urn:mace:shibboleth:2.0:afp classpath:/schema/shibboleth-2.0-afp.xsd 
26                         urn:mace:shibboleth:2.0:resource classpath:/schema/shibboleth-2.0-resource.xsd">
27
28 <!--
29     <LoggingConfiguration>$IDP_HOME$/conf/logging.xml</LoggingConfiguration>
30 -->
31
32     <Service id="shibboleth.ProfileHandler"
33              xmlns="urn:mace:shibboleth:2.0:services"
34              xsi:type="profile:ShibbolethProfileHandlerManager"
35              configurationResourcePollingFrequency="300000"
36              configurationResourcePollingRetryAttempts="10">
37         <ConfigurationResource file="$IDP_HOME$/conf/protocol.xml" xsi:type="resource:FilesystemResource" />
38     </Service>
39
40     <Service id="shibboleth.RelyingPartyConfigurationManager"
41              xmlns="urn:mace:shibboleth:2.0:services"
42              xsi:type="relyingParty:SAMLMDRelyingPartyConfigurationManager"
43              configurationResourcePollingFrequency="300000"
44              configurationResourcePollingRetryAttempts="10">
45         <ConfigurationResource file="$IDP_HOME$/conf/relying-party.xml" xsi:type="resource:FilesystemResource" />
46     </Service>
47
48     <Service id="shibboleth.AttributeResolver"
49              xmlns="urn:mace:shibboleth:2.0:services"
50              xsi:type="resolver:ShibbolethAttributeResolver"
51              configurationResourcePollingFrequency="300000"
52              configurationResourcePollingRetryAttempts="10">
53         <ConfigurationResource file="$IDP_HOME$/conf/attribute-resolver.xml" xsi:type="resource:FilesystemResource" />
54     </Service>
55
56     <Service id="shibboleth.AttributeFilterEngine"
57              xmlns="urn:mace:shibboleth:2.0:services"
58              xsi:type="afp:ShibbolethAttributeFilteringEngine"
59              configurationResourcePollingFrequency="60000"
60              configurationResourcePollingRetryAttempts="10">
61         <ConfigurationResource file="$IDP_HOME$/conf/attribute-filter.xml" xsi:type="resource:FilesystemResource" />
62     </Service>
63
64 </IdPConfig>