Last active
August 29, 2015 14:16
-
-
Save tdonohue/423f173bfcc2baec76ce to your computer and use it in GitHub Desktop.
Sample shibboleth2.xml configuration for testshib.org + DSpace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- *** Sample Shibboleth Settings for http://www.testshib.org/ *** --> | |
<!-- This provides a simple sample of how you could configure --> | |
<!-- shibboleth2.xml for DSpace sites. --> | |
<!-- TO ENABLE: You'd need to specify "applicationId" as "testshib" in --> | |
<!-- your mod_shib settings, e.g. --> | |
<!-- <Location /> --> | |
<!-- ... --> | |
<!-- ShibRequestSetting applicationId testshib --> | |
<!-- </Location> --> | |
<ApplicationOverride id="testshib" entityID="http://mydspace.edu/shibboleth" | |
REMOTE_USER="principal-id"> | |
<!-- We'll use a TEST IdP, hosted by the awesome http://www.testshib.org/ testing service. --> | |
<!-- See also: https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPServiceSSO --> | |
<Sessions lifetime="28800" timeout="3600" checkAddress="false" relayState="ss:mem" handlerSSL="true"> | |
<SSO entityID="https://idp.testshib.org/idp/shibboleth"> | |
SAML2 SAML1 | |
</SSO> | |
</Sessions> | |
<!-- Loads and trusts a metadata file that describes the IdP and how to communicate with it. --> | |
<!-- By default, metadata is retrieved from the TEST IdP at http://www.testshib.org --> | |
<!-- and is cached in a local file named "testshib-idp-metadata.xml". --> | |
<!-- See also: https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPMetadataProvider --> | |
<MetadataProvider type="XML" uri="http://www.testshib.org/metadata/testshib-providers.xml" | |
backingFilePath="testshib-idp-metadata.xml" reloadInterval="180000"/> | |
</ApplicationOverride> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment