IdP config schema and example
[java-idp.git] / tests / data / edu / internet2 / middleware / shibboleth / idp / idp-config-example1.xml
1 <IdPConfig xmlns="urn:mace:shibboleth:2.0:idp-config" xmlns:service="urn:mace:shibboleth:2.0:services"
2     xmlns:profile="urn:mace:shibboleth:2.0:profile-handler" xmlns:relyingParty="urn:mace:shibboleth:2.0:relying-party"
3     xmlns:resolver="urn:mace:shibboleth:2.0:resolver" xmlns:afp="urn:mace:shibboleth:2.0:afp"
4     xmlns:res="urn:mace:shibboleth:2.0:resource"
5     xsi:schemaLocation="urn:mace:shibboleth:2.0:idp-config classpath:/schema/shibboleth-2.0-idp-config.xsd
6                                  urn:mace:shibboleth:2.0:services classpath:/schema/shibboleth-2.0-services.xsd
7                                  urn:mace:shibboleth:2.0:profile-handler classpath:/schema/shibboleth-2.0-profile-handler.xsd
8                                  urn:mace:shibboleth:2.0:relying-party classpath:/schema/shibboleth-2.0-relying-party.xsd
9                                  urn:mace:shibboleth:2.0:resolver classpath:/schema/shibboleth-2.0-attribute-resolver.xsd
10                                  urn:mace:shibboleth:2.0:afp classpath:/schema/shibboleth-2.0-afp.xsd 
11                                  urn:mace:shibboleth:2.0:resource classpath:/schema/shibboleth-2.0-resource.xsd">
12
13     <LoggingConfiguration>/opt/shibboleth-idp-2/etc/logging.xml</LoggingConfiguration>
14
15     <!--  Reloadable profile handler manager -->
16     <service:Service id="shibboleth.ProfileHandler"
17                            type="profile:ShibbolethProfileHandlerManager"
18                            configurationResourcePollingFrequency="300000">
19         <resource:ConfigurationResource type="resource:FileSystemResource">
20             /opt/shibboleth-idp-2/etc/profileHandlers.xml
21         </resource:ConfigurationResource>
22     </service:Service>
23
24     <!--  Reloadable relying party configuration manager -->
25     <service:Service id="shibboleth.RelyingPartyConfigurationManager"
26                            type="relyingParty:SAMLMDRelyingPartyConfigurationManager"
27                            configurationResourcePollingFrequency="300000">
28         <resource:ConfigurationResource type="resource:FileSystemResource">
29             /opt/shibboleth-idp-2/etc/relyingParties.xml
30         </resource:ConfigurationResource>
31     </service:Service>
32
33     <!--  Non-reloadable attribute resolver -->
34     <service:Service id="shibboleth.AttributeResolver"
35                            type="resolver:ShibbolethAttributeResolver">
36         <resource:ConfigurationResource type="resource:FileSystemResource">
37             /opt/shibboleth-idp-2/etc/resolver.xml
38         </resource:ConfigurationResource>
39     </service:Service>
40
41     <!--  Reloadable attribute filtering engine overriding the default number of times (3) the engine will try to reload a bad configuration file -->
42     <service:Service id="shibboleth.AttributeFilterEngine"
43                            type="afp:ShibbolethAttributeFilteringEngine"
44                            configurationResourcePollingFrequency="300000"
45                            configurationResourcePollingRetryAttempts="10">
46         <resource:ConfigurationResource type="resource:FileSystemResource">
47             /opt/shibboleth-idp-2/etc/site.filter.xml
48         </resource:ConfigurationResource>
49         <resource:ConfigurationResource type="resource:FileSystemResource">
50             /opt/shibboleth-idp-2/etc/groups.filter.xml
51         </resource:ConfigurationResource>
52         <resource:ConfigurationResource type="resource:FileSystemResource">
53             /opt/shibboleth-idp-2/etc/users.filter.xml
54         </resource:ConfigurationResource>
55     </service:Service>
56
57 </IdPConfig>