Guest User

Untitled

a guest
Dec 15th, 2016
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. <!--
  2.  
  3. This is an example shibboleth2.xml generated for you by TestShib. It's reduced and recommended
  4. specifically for testing. You don't need to change anything, but you may want to explore the file
  5. to learn about how your SP works. Uncomment attributes in your attribute-map.xml file to test them.
  6.  
  7. If you want to test advanced functionality, start from the distribution shibboleth2.xml and add the
  8. MetadataProvider, the right entityID, and a properly configured SSO element. More information:
  9.  
  10. https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPConfiguration
  11. -->
  12. <SPConfig xmlns="urn:mace:shibboleth:2.0:native:sp:config" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" clockSkew="1800">
  13. <!--
  14. The entityID is the name TestShib made for your SP.
  15. -->
  16. <ApplicationDefaults entityID="https://myhost.intestshib.org/shibboleth" REMOTE_USER="eppn">
  17. <!--
  18. You should use secure cookies if at all possible. See cookieProps in this Wiki article.
  19. -->
  20. <!--
  21. https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPSessions
  22. -->
  23. <Sessions lifetime="28800" timeout="3600" checkAddress="false" relayState="ss:mem" handlerSSL="false">
  24. <!--
  25. Triggers a login request directly to the TestShib IdP.
  26. -->
  27. <!--
  28. https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPServiceSSO
  29. -->
  30. <SSO entityID="https://idp.testshib.org/idp/shibboleth">SAML2 SAML1</SSO>
  31. <!-- SAML and local-only logout. -->
  32. <!--
  33. https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPServiceLogout
  34. -->
  35. <Logout>SAML2 Local</Logout>
  36. <!--
  37.  
  38. Handlers allow you to interact with the SP and gather more information. Try them out!
  39. Attribute values received by the SP through SAML will be visible at:
  40. http://myhost.intestshib.org/Shibboleth.sso/Session
  41.  
  42. -->
  43. <!--
  44. Extension service that generates "approximate" metadata based on SP configuration.
  45. -->
  46. <Handler type="MetadataGenerator" Location="/Metadata" signing="false"/>
  47. <!-- Status reporting service. -->
  48. <Handler type="Status" Location="/Status" acl="127.0.0.1 ::1"/>
  49. <!-- Session diagnostic service. -->
  50. <Handler type="Session" Location="/Session" showAttributeValues="true"/>
  51. <!-- JSON feed of discovery information. -->
  52. <Handler type="DiscoveryFeed" Location="/DiscoFeed"/>
  53. </Sessions>
  54. <!--
  55. Error pages to display to yourself if something goes horribly wrong.
  56. -->
  57. <Errors supportContact="root@localhost" logoLocation="/shibboleth-sp/logo.jpg" styleSheet="/shibboleth-sp/main.css"/>
  58. <!--
  59. Loads and trusts a metadata file that describes only the Testshib IdP and how to communicate with it.
  60. -->
  61. <MetadataProvider type="XML" uri="http://www.testshib.org/metadata/testshib-providers.xml" backingFilePath="testshib-two-idp-metadata.xml" reloadInterval="180000"/>
  62. <!--
  63. Attribute and trust options you shouldn't need to change.
  64. -->
  65. <AttributeExtractor type="XML" validate="true" path="attribute-map.xml"/>
  66. <AttributeResolver type="Query" subjectMatch="true"/>
  67. <AttributeFilter type="XML" validate="true" path="attribute-policy.xml"/>
  68. <!--
  69. Your SP generated these credentials. They're used to talk to IdP's.
  70. -->
  71. <CredentialResolver type="File" key="sp-key.pem" certificate="sp-cert.pem"/>
  72. </ApplicationDefaults>
  73. <!--
  74. Security policies you shouldn't change unless you know what you're doing.
  75. -->
  76. <SecurityPolicyProvider type="XML" validate="true" path="security-policy.xml"/>
  77. <!--
  78. Low-level configuration about protocols and bindings available for use.
  79. -->
  80. <ProtocolProvider type="XML" validate="true" reloadChanges="false" path="protocols.xml"/>
  81. </SPConfig>
Advertisement
Add Comment
Please, Sign In to add comment