1 <ShibbolethTargetConfig xmlns="urn:mace:shibboleth:target:config:1.0"
2 logger="@-LOGDIR-@/shibboleth.logger">
5 <Library path="@-LIBEXECDIR-@/xmlproviders.so" fatal="true"/>
8 <SHAR logger="@-LOGDIR-@/shar.logger">
11 <Library path="@-LIBEXECDIR-@/shib-mysql-ccache.so" fatal="false"/>
14 <UnixListener address="/tmp/shar-socket"/>
17 <TCPListener address="127.0.0.1" port="12345" acl="127.0.0.1"/>
21 <MemorySessionCache cleanupInterval="300" cacheTimeout="3600" AATimeout="30" AAConnectTimeout="15"
22 defaultLifetime="1800" retryInterval="300" strictValidity="true" propagateErrors="false"/>
25 <MySQLSessionCache cleanupInterval="300" cacheTimeout="3600" AATimeout="30" AAConnectTimeout="15"
26 defaultLifetime="1800" retryInterval="300" strictValidity="true" propagateErrors="false"
28 <Argument>--language=@-PREFIX-@/share/english</Argument>
29 <Argument>--datadir=@-PREFIX-@/data</Argument>
33 <SHIRE logger="@-LOGDIR-@/shire.logger">
35 To customize behavior, map hostnames and path components to application names.
36 Can be either a pointer to an external file or an inline configuration.
39 <RequestMapProvider type="edu.internet2.middleware.shibboleth.target.provider.XMLRequestMap"
40 uri="@-PKGSYSCONFDIR-@/applications.xml"/>
43 <RequestMapProvider type="edu.internet2.middleware.shibboleth.target.provider.XMLRequestMap">
44 <RequestMap applicationId="default">
46 If using IIS or apacheConfig is false:
47 This requires a session for documents in /secure on the containing host on 80 and 443.
48 Note that the name in the <Host> elements MUST match Apache's ServerName directive
49 or the IIS host mapping in the <ISAPI> element below.
51 <Host name="localhost" scheme="https">
52 <Path name="secure" requireSession="true" exportAssertion="true"/>
54 <Host name="localhost" scheme="http">
55 <Path name="secure" requireSession="true" exportAssertion="true"/>
61 <ISAPI normalizeRequest="true">
62 <Site id="1" host="localhost"/> <!-- Maps IIS IID values to the vhost name. -->
64 <Apache apacheConfig="true"/> <!-- whether httpd.conf or the RequestMap controls session behavior. -->
68 <Applications xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
69 applicationId="default" providerId="https://localhost/shibboleth/target">
72 Controls session lifetimes, address checks, cookie handling, WAYF, and the SHIRE location.
73 You MUST supply a unique shireURL value for each of your applications. The value can be a
74 relative path, a URL with no hostname (https:///path) or a full URL. The system will compute
75 the value that applies based on the resource. Using shireSSL="true" will force the protocol
76 to be https. You should also add "; secure" to the cookieProps in that case.
77 The default wayfURL is the InQueue federation's service. Change to https://localhost/shibboleth/HS
78 for internal testing against your own origin.
80 <Sessions lifetime="7200" timeout="3600" checkAddress="true" checkReplay="true"
81 shireURL="/Shibboleth.shire" shireSSL="false" cookieName="shib-default-app" cookieProps="; path=/"
82 wayfURL="https://wayf.internet2.edu/InQueue/WAYF"/>
84 <!-- You should customize the pages! You can add attributes with values that can be plugged in. -->
85 <Errors shire="@-PKGSYSCONFDIR-@/shireError.html"
86 rm="@-PKGSYSCONFDIR-@/rmError.html"
87 access="@-PKGSYSCONFDIR-@/accessError.html"
88 supportContact="root@localhost"
89 logoLocation="/logo.gif"/>
91 <Policy signRequest="false" signedResponse="false" signedAssertions="false">
92 <!-- use designators to request specific attributes or none to ask for all -->
94 <saml:AttributeDesignator AttributeName="urn:mace:dir:attribute-def:eduPersonScopedAffiliation"
95 AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri"/>
96 <saml:AttributeDesignator AttributeName="urn:mace:dir:attribute-def:eduPersonTargetedID"
97 AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri"/>
100 <!-- AAP can be inline or in a separate file -->
101 <AAPProvider type="edu.internet2.middleware.shibboleth.target.provider.XMLAAP" uri="@-PKGSYSCONFDIR-@/AAP.xml"/>
103 <AAPProvider type="edu.internet2.middleware.shibboleth.target.provider.XMLAAP"
104 <AttributeAcceptancePolicy xmlns="urn:mace:shibboleth:aap:1.0">
105 <AttributeRule Name="urn:mace:dir:attribute-def:eduPersonPrincipalName" Header="REMOTE_USER" Alias="user">
110 </AttributeAcceptancePolicy>
114 <!-- Metadata consists of site/operational metadata, trust, revocation providers. Can be external or inline. -->
115 <FederationProvider type="edu.internet2.middleware.shibboleth.common.provider.XMLMetadata"
116 uri="@-PKGSYSCONFDIR-@/sites.xml"/>
117 <FederationProvider type="edu.internet2.middleware.shibboleth.common.provider.XMLMetadata">
118 <SiteGroup Name="https://localhost/shibboleth" xmlns="urn:mace:shibboleth:1.0">
119 <OriginSite Name="https://localhost/shibboleth/origin">
120 <Alias>Localhost Test Deployment</Alias>
121 <Contact Type="technical" Name="Your Name Here" Email="root@localhost"/>
122 <HandleService Location="https://localhost/shibboleth/HS" Name="CN=localhost,O=Shibboleth Project,C=US"/>
123 <AttributeAuthority Location="https://localhost/shibboleth/AA" Name="CN=localhost,O=Shibboleth Project,C=US"/>
124 <Domain>localhost</Domain>
127 </FederationProvider>
129 <TrustProvider type="edu.internet2.middleware.shibboleth.common.provider.XMLTrust"
130 uri="@-PKGSYSCONFDIR-@/trust.xml"/>
132 <RevocationProvider type="edu.internet2.middleware.shibboleth.common.provider.XMLRevocation"
133 uri="@-PKGSYSCONFDIR-@/trust.xml"/>
136 <!-- zero or more SAML Audience condition matches -->
137 <saml:Audience>urn:mace:inqueue</saml:Audience>
140 <CredentialUse TLS="defcreds" Signing="defcreds">
141 <!-- RelyingParty elements customize credentials for specific origins or federations -->
143 <RelyingParty Name="urn:mace:inqueue" TLS="inqueuecreds" Signing="inqueuecreds"/>
148 <!-- customize behavior of specific applications -->
150 <Application id="foo-admin">
151 <Sessions shireURL="https://foo.com/admin/Shibboleth.shire" cookieName="shib-foo-admin"/>
153 <saml:AttributeDesignator AttributeName="urn:mace:dir:attribute-def:eduPersonPrincipalName"
154 AttributeNamespace="urn:mace:shibboleth:1.0:attributeNamespace:uri"/>
161 <!-- Define all your private keys and certificates here. -->
162 <CredentialsProvider type="edu.internet2.middleware.shibboleth.common.Credentials">
163 <Credentials xmlns="urn:mace:shibboleth:credentials:1.0">
164 <FileResolver Id="defcreds">
166 <Path>@-PKGSYSCONFDIR-@/shar.key</Path>
168 <Certificate format="PEM">
169 <Path>@-PKGSYSCONFDIR-@/shar.crt</Path>
174 <FileResolver Id="inqueuecreds">
176 <Path>@-PKGSYSCONFDIR-@/inqueue.key</Path>
178 <Certificate format="PEM">
179 <Path>@-PKGSYSCONFDIR-@/inqueue.crt</Path>
184 </CredentialsProvider>
186 </ShibbolethTargetConfig>