This section contains the following topics:
Federation Data Stored in the Session Store
Environments that Require a Shared Session Store
The session store stores data for the following federation features:
A SAML assertion and the associated artifact are generated at the asserting party. The artifact identifies the generated assertion. The asserting party returns the artifact to the relying party. The relying party uses the artifact to retrieve the assertion, which the asserting party stores in the session store.
A persistent session is required for this process to work.
The SAML POST profile does not store assertions in the session store.
The single use policy feature prevents assertions (POST binding) from being reused at the relying party to establish a second session. The relying party stores time-based data about the assertion, which is known as expiry data, in its session store. Expiry data helps ensure that the assertion is only used one time.
A session store is required at the relying party, but a persistent session is not required.
You can select the option Persist Authentication Session Variables when configuring federation at a relying party. This option instructs the Policy Server to save authentication context data in the session store as session variables. The Policy Server has access to these variables for use in authentication decisions.
You can select Persist Attributes as a redirect mode at the relying party. The redirect mode determines how a user is redirected to the target application. The Persist Attributes mode instructs the Policy Server to store attributes that are extracted from an assertion in the session store. The attributes can then be supplied as HTTP header variables.
If single logout is enabled, either partner can stores information about the user session. The session information is kept in the session store. When a single logout request is completed, the session information for the user is removed, invalidating the session.
A persistent session is required at the Identity Provider and Service Provider.
If sign-out is enabled, user context information is placed in the session store. This information enables the software to generate a sign-out request. When a sign-out request is completed, the session information for the user is removed, invalidating the user session.
A persistent session is required at the Account Partner and Resource Partner.
Enable the session store to store data when using SAML artifact single sign-on, single logout, WS-Federation sign-out, and a single use policy.
The session server database is where the Policy Server Session Server stores persistent session data.
Enable the session store from the Policy Server Management Console.
Follow these steps:
If you are going to use persistent sessions in one or more realms, enable the Session Server. When enabled, the Session Server impacts Policy Server performance.
Note: For performance reasons, the session server cannot be run on the same database as the policy store. Therefore, the option to use the policy store database is disabled.
The following CA SiteMinder® features require a shared session store to store SAML assertions and user session information.
To implement these features across a clustered Policy Server environment, set up the environment as follows:
Persistent sessions are part of the realm configuration.
Sharing the session store verifies that all Policy Servers have access to assertions when each one receives a request for an assertion.
Sharing the session store verifies that all Policy Servers have access to user session data when each one receives a request for a session logout.
All Policy Servers that generate or consume assertions or process a persistent SMSESSION cookie must be able to contact the common session store. For example, a user logs in to example.com and gets a persistent session cookie for that domain. Every Policy Server that is handling requests for example.com must be able to verify that the session is still valid.
The following illustration shows a Policy Server cluster communicating with one session store:
To share a session store, use one of the following methods:
In the Policy Server Management Console, configure the Policy Server to use the designated session store.
For instructions on replicating a database, use the documentation for your database.
Copyright © 2014 CA.
All rights reserved.
|
|