shibboleth-3.5.0
|
Public Member Functions | |
StoredSession (SSCache *cache, DDF &obj) | |
xmltooling::Lockable * | lock () |
void | unlock () |
const char * | getID () const |
Returns the session key. More... | |
const char * | getApplicationID () const |
Returns the session's application ID. More... | |
const char * | getClientAddress () const |
Returns the address of the client associated with the session. More... | |
const char * | getClientAddress (const char *family) const |
void | setClientAddress (const char *client_addr) |
const char * | getEntityID () const |
Returns the entityID of the IdP that initiated the session. More... | |
const char * | getProtocol () const |
Returns the protocol family used to initiate the session. More... | |
const char * | getAuthnInstant () const |
Returns the UTC timestamp on the authentication event at the IdP. More... | |
const opensaml::saml2::NameID * | getNameID () const |
Returns the NameID associated with a session. More... | |
const char * | getSessionIndex () const |
Returns the SessionIndex provided with the session. More... | |
const char * | getAuthnContextClassRef () const |
Returns a URI containing an AuthnContextClassRef provided with the session. More... | |
const char * | getAuthnContextDeclRef () const |
Returns a URI containing an AuthnContextDeclRef provided with the session. More... | |
const std::vector< Attribute * > & | getAttributes () const |
Returns the resolved attributes associated with the session. More... | |
const std::multimap< std::string, const Attribute * > & | getIndexedAttributes () const |
Returns the resolved attributes associated with the session, indexed by ID. More... | |
const std::vector< const char * > & | getAssertionIDs () const |
Returns the identifiers of the assertion(s) cached by the session. More... | |
void | validate (const Application &application, const char *client_addr, time_t *timeout) |
void | addAttributes (const std::vector< Attribute *> &attributes) |
Adds additional attributes to the session. More... | |
const opensaml::Assertion * | getAssertion (const char *id) const |
Returns an assertion cached by the session. More... | |
void | addAssertion (opensaml::Assertion *assertion) |
Stores an assertion in the session. More... | |
time_t | getExpiration () const |
Returns the session expiration. More... | |
time_t | getLastAccess () const |
Returns the last access time of the session. More... | |
Static Public Member Functions | |
static const char * | getAddressFamily (const char *addr) |
|
virtual |
Stores an assertion in the session.
assertion | pointer to an assertion to cache (will be freed by cache) |
Implements shibsp::Session.
|
virtual |
Adds additional attributes to the session.
attributes | reference to an array of Attributes to cache (will be freed by cache) |
Implements shibsp::Session.
|
inlinevirtual |
Returns the session's application ID.
Implements shibsp::Session.
|
virtual |
Returns an assertion cached by the session.
id | identifier of the assertion to retrieve |
Implements shibsp::Session.
|
virtual |
Returns the identifiers of the assertion(s) cached by the session.
The SSO assertion is guaranteed to be first in the set.
Implements shibsp::Session.
|
inlinevirtual |
Returns the resolved attributes associated with the session.
Implements shibsp::Session.
|
inlinevirtual |
Returns a URI containing an AuthnContextClassRef provided with the session.
SAML 1.x AuthenticationMethods will be returned as class references.
Implements shibsp::Session.
|
inlinevirtual |
Returns a URI containing an AuthnContextDeclRef provided with the session.
Implements shibsp::Session.
|
inlinevirtual |
Returns the UTC timestamp on the authentication event at the IdP.
Implements shibsp::Session.
|
inlinevirtual |
Returns the address of the client associated with the session.
Implements shibsp::Session.
|
inlinevirtual |
Returns the entityID of the IdP that initiated the session.
Implements shibsp::Session.
|
inlinevirtual |
Returns the session expiration.
Implements shibsp::Session.
|
inlinevirtual |
|
virtual |
Returns the resolved attributes associated with the session, indexed by ID.
Implements shibsp::Session.
|
inlinevirtual |
Returns the last access time of the session.
Implements shibsp::Session.
|
inlinevirtual |
Returns the NameID associated with a session.
SAML 1.x identifiers will be promoted to the 2.0 type.
Implements shibsp::Session.
|
inlinevirtual |
Returns the protocol family used to initiate the session.
Implements shibsp::Session.
|
inlinevirtual |
Returns the SessionIndex provided with the session.
Implements shibsp::Session.