-
-
Save HitScan/71f043e043e04a8eb58f48b29c4b8528 to your computer and use it in GitHub Desktop.
Modifying shibboleth to use a memcached session backend
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
<SPConfig xmlns="urn:mace:shibboleth:3.0:native:sp:config" | |
xmlns:conf="urn:mace:shibboleth:3.0:native:sp:config" | |
clockSkew="180"> | |
<OutOfProcess tranLogFormat="%u|%s|%IDP|%i|%ac|%t|%attr|%n|%b|%E|%S|%SS|%L|%UA|%a"> | |
<Extensions> | |
<Library path="memcache-store.so" fatal="true"/> | |
</Extensions> | |
</OutOfProcess> | |
<StorageService type="MEMCACHE" id="mc" prefix="shib:"> | |
<Hosts> | |
HOST:11211 | |
</Hosts> | |
</StorageService> | |
<StorageService type="MEMCACHE" id="mc-ctx" prefix="shib:" buildMap="1"> | |
<Hosts> | |
HOST:11211 | |
</Hosts> | |
</StorageService> | |
<SessionCache type="StorageService" StorageService="mc-ctx" cacheAssertions="false" | |
cacheAllowance="3600" inprocTimeout="900" cleanupInterval="900"/> | |
<ReplayCache StorageService="mc"/> | |
<ArtifactMap StorageService="mc" artifactTTL="180"/> | |
<!-- The rest of the usual shibboleth2.xml continues here --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment