#include <shibsp/SessionCacheEx.h>
Inheritance diagram for shibsp::SessionCacheEx:
Public Member Functions | |
virtual std::vector< std::string >::size_type | logout (const Application &application, const opensaml::saml2md::EntityDescriptor *issuer, const opensaml::saml2::NameID &nameid, const std::set< std::string > *indexes, time_t expires, std::vector< std::string > &sessions)=0 |
Returns active sessions that match particular parameters and records the logout to prevent race conditions. | |
virtual Session * | find (const Application &application, const char *key, const char *client_addr=nullptr, time_t *timeout=nullptr)=0 |
Locates an existing session by ID. | |
virtual void | remove (const Application &application, const char *key)=0 |
Deletes an existing session. |
|
Locates an existing session by ID. If the client address is supplied, then a check will be performed against the address recorded in the record.
|
|
Returns active sessions that match particular parameters and records the logout to prevent race conditions. On exit, the mapping between these sessions and the associated information MAY be removed by the cache, so subsequent calls to this method may not return anything. Until logout expiration, any attempt to create a session with the same parameters will be blocked by the cache.
|
|
Deletes an existing session.
|