Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

DefaultIdentityTransformer Class Reference

#include <coherence/security/DefaultIdentityTransformer.hpp>

Inherits Object, and IdentityTransformer.

List of all members.


Detailed Description

The default implementation of the IdentityTransformer interface, which simply returns the Subject that is passed to it.

Author:
dag 2009.12.21
 

Public Types

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

Public Member Functions

virtual Object::View  transformIdentity (Subject::View vSubject, Service::View vService) const
  Transform a Subject to a token that asserts an identity.
Parameters:
  vSubject  the Subject representing a user.
  vService  the Service requesting an identity token
Returns:
the token that asserts identity.
Exceptions:
  SecurityException  if the identity transformation fails.
Since:
Coherence 3.7 added vService param which intentionally breaks compatibility with Coherence 3.6

Static Public Member Functions

static
DefaultIdentityTransformer::Handle 
getInstance ()
  Get the singleton instance of the DefaultIdentityTransformer.

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

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