Advertisement
Guest User

Untitled

a guest
Jan 24th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.90 KB | None | 0 0
  1. <SPConfig xmlns="urn:mace:shibboleth:3.0:native:sp:config"
  2. xmlns:conf="urn:mace:shibboleth:3.0:native:sp:config"
  3. clockSkew="180">
  4.  
  5. <OutOfProcess tranLogFormat="%u|%s|%IDP|%i|%ac|%t|%attr|%n|%b|%E|%S|%SS|%L|%UA|%a" />
  6.  
  7. <!--
  8. The InProcess section contains settings affecting web server modules.
  9. Required for IIS, but can be removed when using other web servers.
  10. -->
  11. <InProcess>
  12. <ISAPI normalizeRequest="true" safeHeaderNames="true">
  13. <!--
  14. Maps IIS Instance ID values to the host scheme/name/port. The name is
  15. required so that the proper <Host> in the request map above is found without
  16. having to cover every possible DNS/IP combination the user might enter.
  17. -->
  18. <Site id="1" name="sp.example.org"/>
  19. <!--
  20. When the port and scheme are omitted, the HTTP request's port and scheme are used.
  21. If these are wrong because of virtualization, they can be explicitly set here to
  22. ensure proper redirect generation.
  23. -->
  24. <!--
  25. <Site id="42" name="virtual.example.org" scheme="https" port="443"/>
  26. -->
  27. </ISAPI>
  28. </InProcess>
  29.  
  30. <!--
  31. By default, in-memory StorageService, ReplayCache, ArtifactMap, and SessionCache
  32. are used. See example-shibboleth2.xml for samples of explicitly configuring them.
  33. -->
  34.  
  35. <!--
  36. To customize behavior for specific resources on IIS, use the XML syntax below.
  37. Apache users should rely on web server options/commands in most cases, and can remove the
  38. RequestMapper element.
  39. -->
  40. <RequestMapper type="Native">
  41. <RequestMap>
  42. <!--
  43. The example requires a session for documents in /secure on the containing host with http and
  44. https on the default ports. Note that the name and port in the <Host> elements MUST match
  45. Apache's ServerName and Port directives or the IIS Site name in the <ISAPI> element above.
  46. -->
  47. <Host name="https://imgn.lci1.com">
  48. <Path name="experience" authType="shibboleth" requireSession="true"/>
  49. <Path name="integrationserver_sso" authType="shibboleth" requireSession="true"/>
  50. </Host>
  51. <!-- Example of a second vhost mapped to a different applicationId. -->
  52. <!--
  53. <Host name="admin.example.org" applicationId="admin" authType="shibboleth" requireSession="true"/>
  54. -->
  55. </RequestMap>
  56. </RequestMapper>
  57.  
  58. <!--
  59. The ApplicationDefaults element is where most of Shibboleth's SAML bits are defined.
  60. With IIS, resource requests are mapped by the RequestMapper to an applicationId that
  61. points into to this section (or to the defaults here).
  62. -->
  63. <ApplicationDefaults entityID="https://imgn.lci1.com/shibboleth"
  64. REMOTE_USER="eppn subject-id pairwise-id persistent-id"
  65. cipherSuites="DEFAULT:!EXP:!LOW:!aNULL:!eNULL:!DES:!IDEA:!SEED:!RC4:!3DES:!kRSA:!SSLv2:!SSLv3:!TLSv1:!TLSv1.1">
  66.  
  67. <!--
  68. Controls session lifetimes, address checks, cookie handling, and the protocol handlers.
  69. Each Application has an effectively unique handlerURL, which defaults to "/Shibboleth.sso"
  70. and should be a relative path, with the SP computing the full value based on the virtual
  71. host. Using handlerSSL="true" will force the protocol to be https. You should also set
  72. cookieProps to "https" for SSL-only sites. Note that while we default checkAddress to
  73. "false", this makes an assertion stolen in transit easier for attackers to misuse.
  74. -->
  75. <Sessions lifetime="28800" timeout="3600" relayState="ss:mem"
  76. checkAddress="false" handlerSSL="false" cookieProps="http">
  77.  
  78. <!--
  79. Configures SSO for a default IdP. To properly allow for >1 IdP, remove
  80. entityID property and adjust discoveryURL to point to discovery service.
  81. You can also override entityID on /Login query string, or in RequestMap/htaccess.
  82. -->
  83. <SSO entityID="https://sts.windows.net/c12fc62a-7568-4b2f-aa0b-5c0cdbaf5faa/">
  84. SAML2
  85. </SSO>
  86.  
  87. <!-- SAML and local-only logout. -->
  88. <Logout>SAML2 Local</Logout>
  89.  
  90. <!-- Administrative logout. -->
  91. <LogoutInitiator type="Admin" Location="/Logout/Admin" acl="127.0.0.1 ::1" />
  92.  
  93. <!-- Extension service that generates "approximate" metadata based on SP configuration. -->
  94. <Handler type="MetadataGenerator" Location="/Metadata" signing="false"/>
  95.  
  96. <!-- Status reporting service. -->
  97. <Handler type="Status" Location="/Status" acl="127.0.0.1 ::1"/>
  98.  
  99. <!-- Session diagnostic service. -->
  100. <Handler type="Session" Location="/Session" showAttributeValues="false"/>
  101.  
  102. <!-- JSON feed of discovery information. -->
  103. <Handler type="DiscoveryFeed" Location="/DiscoFeed"/>
  104. </Sessions>
  105.  
  106. <!--
  107. Allows overriding of error template information/filenames. You can
  108. also add your own attributes with values that can be plugged into the
  109. templates, e.g., helpLocation below.
  110. -->
  111. <Errors supportContact="root@localhost"
  112. helpLocation="/about.html"
  113. styleSheet="/shibboleth-sp/main.css"/>
  114.  
  115. <!-- Example of locally maintained metadata. -->
  116.  
  117. <MetadataProvider type="XML" validate="true" path="PerceptiveContentProd.xml"/>
  118.  
  119.  
  120. <!-- Example of remotely supplied batch of signed metadata. -->
  121. <!--
  122. <MetadataProvider type="XML" validate="true"
  123. url="http://federation.org/federation-metadata.xml"
  124. backingFilePath="federation-metadata.xml" maxRefreshDelay="7200">
  125. <MetadataFilter type="RequireValidUntil" maxValidityInterval="2419200"/>
  126. <MetadataFilter type="Signature" certificate="fedsigner.pem" verifyBackup="false"/>
  127. <DiscoveryFilter type="Blacklist" matcher="EntityAttributes" trimTags="true"
  128. attributeName="http://macedir.org/entity-category"
  129. attributeNameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri"
  130. attributeValue="http://refeds.org/category/hide-from-discovery" />
  131. </MetadataProvider>
  132. -->
  133.  
  134. <!-- Example of remotely supplied "on-demand" signed metadata. -->
  135. <!--
  136. <MetadataProvider type="MDQ" validate="true" cacheDirectory="mdq"
  137. baseUrl="http://mdq.federation.org" ignoreTransport="true">
  138. <MetadataFilter type="RequireValidUntil" maxValidityInterval="2419200"/>
  139. <MetadataFilter type="Signature" certificate="mdqsigner.pem" />
  140. </MetadataProvider>
  141. -->
  142.  
  143. <!-- Map to extract attributes from SAML assertions. -->
  144. <AttributeExtractor type="XML" validate="true" reloadChanges="false" path="attribute-map.xml"/>
  145.  
  146. <!-- Default filtering policy for recognized attributes, lets other data pass. -->
  147. <AttributeFilter type="XML" validate="true" path="attribute-policy.xml"/>
  148.  
  149. <!-- Simple file-based resolvers for separate signing/encryption keys. -->
  150. <CredentialResolver type="File" use="signing"
  151. key="sp-signing-key.pem" certificate="sp-signing-cert.pem"/>
  152. <CredentialResolver type="File" use="encryption"
  153. key="sp-encrypt-key.pem" certificate="sp-encrypt-cert.pem"/>
  154.  
  155. </ApplicationDefaults>
  156.  
  157. <!-- Policies that determine how to process and authenticate runtime messages. -->
  158. <SecurityPolicyProvider type="XML" validate="true" path="security-policy.xml"/>
  159.  
  160. <!-- Low-level configuration about protocols and bindings available for use. -->
  161. <ProtocolProvider type="XML" validate="true" reloadChanges="false" path="protocols.xml"/>
  162.  
  163. </SPConfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement