Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

IdentityAsserter Class Reference

#include <coherence/security/IdentityAsserter.hpp>

Inherits Object.

Inherited by DefaultIdentityAsserter [virtual].

List of all members.


Detailed Description

IdentityAsserter validates a token in order to establish a user's identity.

The token is an identity assertion, a statement that asserts an identity.

A token is opaque to Coherence. It could be a standard type such as a SAML Assertion or a proprietary type.

Author:
dag 2009.10.30
Since:
Coherence 3.6
 

Public Types

typedef spec::Handle  Handle
  IdentityAsserter Handle definition.
typedef spec::View  View
  IdentityAsserter View definition.
typedef spec::Holder  Holder
  IdentityAsserter Holder definition.

Public Member Functions

virtual Subject::View  assertIdentity (Object::View vToken, Service::View vService) const =0
  Asserts an identity based on a token-based identity assertion.

Member Function Documentation

virtual Subject::View assertIdentity ( Object::View  vToken,
    Service::View  vService  
  )     const [pure virtual]

Asserts an identity based on a token-based identity assertion.

Parameters:
  oToken  the token that asserts identity.
  vService  the Service asserting the identity token
Returns:
a Subject representing the identity.
Exceptions:
  SecurityException  if the identity assertion fails.
Since:
Coherence 3.7 added vService param which intentionally breaks compatibility with Coherence 3.6

Implemented in DefaultIdentityAsserter.


The documentation for this class was generated from the following file:

Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.