...
Code Block | ||||
---|---|---|---|---|
| ||||
<StorageService type="ODBC" id="db" cleanupInterval="900"> <ConnectionString><![CDATA[ Driver=PostgreSQL;Server=127.0.0.1;Port=5432;Database=shibboleth-sp;Uid=shibboleth-sp;Password=shibboleth-sp-password ]]></ConnectionString> </StorageService> <SessionCache type="StorageService" StorageService="db" cacheTimeout="3600" inprocTimeout="900" cleanupInterval="900" /> <ReplayCache StorageService="db" /> <ArtifactMap StorageService="db" artifactTTL="180" /> |
- After adding the "db" storage service, configure the session initiator and logout initiator to use ss:db (db storage service) for the relay state.
Code Block | ||||
---|---|---|---|---|
| ||||
<SessionInitiator type="Chaining" Location="/Login" isDefault="true" id="Default"
relayState="ss:db" forceAuthn="true" entityID="">
<SessionInitiator type="SAML2" acsIndex="1" template="bindingTemplate.html"/>
</SessionInitiator>
<LogoutInitiator type="Chaining" Location="/Logout" relayState="ss:db">
<LogoutInitiator type="SAML2" template="bindingTemplate.html"/>
<LogoutInitiator type="Local"/>
</LogoutInitiator> |