First stab at an example config file.
[java-idp.git] / src / conf / origin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ShibbolethOriginConfig xmlns="urn:mace:shibboleth:origin:1.0" xmlns:cred="urn:mace:shibboleth:credentials:1.0" xmlns:name="urn:mace:shibboleth:namemapper:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mace:shibboleth:origin:1.0 origin.xsd" 
3         AAUrl="http://snc.cc.columbia.edu/shibboleth/AA" providerId="urn:mace:inqueue:shibdev.edu">
4         <RelyingPartyGroup name="urn:mace:inqueue" signingCredentials="foo">
5                 <HSNameFormat nameMapping="crypto"/>
6         </RelyingPartyGroup>
7         <RelyingPartyGroup name="urn:x-fed1" signingCredentials="bar" passThruErrors="true">
8                 <HSNameFormat nameMapping="crypto"/>
9         </RelyingPartyGroup>
10         <RelyingParty name="urn:x-columbia-intranet" signingCredentials="foo" providerId="urn:x-columbia-intranet.columbia">
11                 <HSNameFormat nameMapping="uni"/>
12         </RelyingParty>
13         <ReleasePolicyEngine/>
14         <name:NameMapping xmlns="urn:mace:shibboleth:namemapper:1.0" id="cryptotest" format="urn:mace:shibboleth:1.0:nameIdentifier" type="CryptoHandleGenerator" handleTTL="1800">
15                 <KeyStorePath>/conf/handle.jks</KeyStorePath>
16                 <KeyStorePassword>shibhs</KeyStorePassword>
17                 <KeyStoreKeyAlias>handlekey</KeyStoreKeyAlias>
18                 <KeyStoreKeyPassword>shibhs</KeyStoreKeyPassword>
19         </name:NameMapping>
20         <cred:Credentials>
21                 <cred:KeyStoreResolver Id="foo" storeType="JKS">
22                         <cred:Path>/conf/keystore.jks</cred:Path>
23                         <cred:KeyAlias>shibhs</cred:KeyAlias>
24                         <cred:CertAlias>shibhs</cred:CertAlias>
25                         <cred:StorePassword>shibhs</cred:StorePassword>
26                         <cred:KeyPassword>shibhs</cred:KeyPassword>
27                 </cred:KeyStoreResolver>
28         </cred:Credentials>
29 </ShibbolethOriginConfig>