Default key format changed
[java-idp.git] / src / conf / origin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <ShibbolethOriginConfig 
4         xmlns="urn:mace:shibboleth:origin:1.0" 
5         xmlns:cred="urn:mace:shibboleth:credentials:1.0" 
6         xmlns:name="urn:mace:shibboleth:namemapper:1.0" 
7         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
8         xsi:schemaLocation="urn:mace:shibboleth:origin:1.0 origin.xsd" 
9         AAUrl="https://localhost/shibboleth/AA" 
10         defaultRelyingParty="https://localhost/shibboleth/target" 
11         providerId="https://localhost/shibboleth/origin">
12
13         <RelyingParty name="https://localhost/shibboleth/target" signingCredential="foo">
14                 <HSNameFormat nameMapping="crypto"/>
15         </RelyingParty>
16
17         <!-- You'll need to get a test credential from an InQueue CA -->
18         <!--
19         <RelyingParty name="urn:mace:inqueue" signingCredential="inqueue_cred">
20                 <HSNameFormat nameMapping="crypto"/>
21         </RelyingParty>
22         -->
23         
24         <ReleasePolicyEngine>
25                 <ArpRepository implementation="edu.internet2.middleware.shibboleth.aa.arp.provider.FileSystemArpRepository">
26                         <Path>/conf/arps/</Path>
27                 </ArpRepository>
28         </ReleasePolicyEngine>
29
30         <!--
31         <Logging>
32                 <Log4JConfig location="file:///tmp/log4j.properties" />
33         </Logging>
34         <Logging>
35                 <ErrorLog level="DEBUG" location="file:///tmp/shib-error.log" />
36                 <TransactionLog location="file:///tmp/shib-access.log" />
37         </Logging>
38         -->
39
40         <NameMapping 
41                 xmlns="urn:mace:shibboleth:namemapper:1.0" 
42                 id="crypto" 
43                 format="urn:mace:shibboleth:1.0:nameIdentifier" 
44                 type="SharedMemoryShibHandle" 
45                 handleTTL="1800"/>
46
47         <Credentials xmlns="urn:mace:shibboleth:credentials:1.0">
48                 <FileResolver Id="foo">
49                         <Key format="PEM">
50                                 <Path>/conf/shib2.key</Path>
51                         </Key>
52                         <Certificate format="PEM">
53                                 <Path>/conf/shib2.crt</Path>
54                         </Certificate>
55                 </FileResolver>
56         </Credentials>
57         
58         <FederationProvider type="edu.internet2.middleware.shibboleth.metadata.provider.XMLMetadataLoadWrapper"
59                 uri="/conf/sites.xml"/>
60     <!--
61         <FederationProvider type="edu.internet2.middleware.shibboleth.metadata.provider.XMLMetadataLoadWrapper"
62                 uri="/conf/inqueue_sites.xml"/>
63         -->
64 </ShibbolethOriginConfig>
65