Don't include log4j jar in WAR (does bad things to container logging)
[java-idp.git] / resources / conf / relying-party.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4     This file specifies relying party dependent configurations for the IdP, for example, whether SAML assertions to a 
5     particular relying party should be signed.  It also includes metadata provider and credential definitions used 
6     when answering requests to a relying party.
7 -->
8
9 <RelyingPartyGroup xmlns="urn:mace:shibboleth:2.0:relying-party"
10                    xmlns:saml="urn:mace:shibboleth:2.0:relying-party:saml"
11                    xmlns:metadata="urn:mace:shibboleth:2.0:metadata"
12                    xmlns:credential="urn:mace:shibboleth:2.0:credential"
13                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
14                    xsi:schemaLocation="urn:mace:shibboleth:2.0:relying-party classpath:/schema/shibboleth-2.0-relying-party.xsd
15                                        urn:mace:shibboleth:2.0:relying-party:saml classpath:/schema/shibboleth-2.0-relying-party-saml.xsd
16                                        urn:mace:shibboleth:2.0:metadata classpath:/schema/shibboleth-2.0-metadata.xsd
17                                        urn:mace:shibboleth:2.0:credential classpath:/schema/shibboleth-2.0-credential.xsd
18                                        urn:oasis:names:tc:SAML:2.0:metadata classpath:/schema/saml-schema-metadata-2.0.xsd">
19                                        
20     <AnonymousRelyingParty provider="http://example.org/IdP" />
21     
22     <DefaultRelyingParty provider="http://example.org/IdP" />
23     
24     <RelyingParty id="urn:example.org:unitTestFed"
25                   provider="http://example.org/IdP">
26         <ProfileConfiguration xsi:type="saml:SAML2AttributeQueryProfile" />
27         <ProfileConfiguration xsi:type="saml:SAML2SSOProfile" />
28     </RelyingParty>
29     
30     <MetadataProvider id="UnitTestConf1" xsi:type="InlineMetadataProvider" xmlns="urn:mace:shibboleth:2.0:metadata">
31         <EntitiesDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
32             <EntityDescriptor entityID="urn:example.org:unitTest:sp1">
33                 <SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
34                     <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://example.org/mySP" index="0" />
35                     <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://example.org/mySP" index="0" />
36                 </SPSSODescriptor>
37             </EntityDescriptor>
38             <EntitiesDescriptor Name="urn:example.org:unitTestFed" xmlns="urn:oasis:names:tc:SAML:2.0:metadata">
39                 <EntityDescriptor entityID="urn:example.org:unitTestFed:sp2">
40                     <SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
41                         <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://example.org/mySP" index="0" />
42                         <AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://example.org/mySP" index="0" />
43                     </SPSSODescriptor>
44                 </EntityDescriptor>
45             </EntitiesDescriptor>
46         </EntitiesDescriptor>
47     </MetadataProvider>
48
49 </RelyingPartyGroup>