Configure logging with <Logging> element in origin.xml.
[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="http://therock.cc.columbia.edu:6666/shibboleth/AA" 
10         defaultRelyingParty="urn:mace:inqueue" 
11         providerId="urn:mace:inqueue:shibdev.edu">
12
13         <RelyingParty name="urn:mace:inqueue" signingCredential="foo">
14                 <HSNameFormat nameMapping="crypto"/>
15         </RelyingParty>
16
17         <ReleasePolicyEngine>
18                 <ArpRepository implementation="edu.internet2.middleware.shibboleth.aa.arp.provider.FileSystemArpRepository">
19                         <Path>/conf/arps/</Path>
20                 </ArpRepository>
21         </ReleasePolicyEngine>
22
23         <!--
24         <Logging>
25                 <Log4JConfig location="file:///tmp/log4j.properties" />
26         </Logging>
27         <Logging>
28                 <ErrorLog level="DEBUG" location="file:///tmp/shib-error.log" />
29                 <TransactionLog location="file:///tmp/shib-access.log" />
30         </Logging>
31         -->
32
33         <name:NameMapping 
34                 xmlns="urn:mace:shibboleth:namemapper:1.0" 
35                 id="crypto" 
36                 format="urn:mace:shibboleth:1.0:nameIdentifier" 
37                 type="SharedMemoryShibHandle" 
38                 handleTTL="1800"/>
39
40         <cred:Credentials xmlns="urn:mace:shibboleth:credentials:1.0">
41                 <FileResolver Id="foo">
42                         <Key format="DER">
43                                 <Path>/conf/shib2.key</Path>
44                         </Key>
45                         <Certificate format="PEM">
46                                 <Path>/conf/shib2.crt</Path>
47                         </Certificate>
48                 </FileResolver>
49         </cred:Credentials>
50
51 </ShibbolethOriginConfig>
52