TAO_Security 2.0.5
Public Member Functions | Protected Member Functions | Private Attributes
TAO::Security::EstablishTrustPolicy Class Reference

Implementation of the SecurityLevel2::EstablishTrustPolicy. More...

#include <SL2_EstablishTrustPolicy.h>

Inheritance diagram for TAO::Security::EstablishTrustPolicy:
Inheritance graph
Collaboration diagram for TAO::Security::EstablishTrustPolicy:
Collaboration graph

List of all members.

Public Member Functions

 EstablishTrustPolicy (const ::Security::EstablishTrust &trust)
virtual ::Security::EstablishTrust trust (void)
CORBA::Policy Methods
virtual CORBA::PolicyType policy_type (void)
virtual CORBA::Policy_ptr copy (void)
virtual void destroy (void)

Protected Member Functions

 ~EstablishTrustPolicy (void)

Private Attributes

::Security::EstablishTrust const trust_

Detailed Description

Implementation of the SecurityLevel2::EstablishTrustPolicy.

This policy can be used to enable or disable establishment of trust in the client or the target or both on a per-object basis. For example, it can be set as a policy override using the standard CORBA::Object::_set_policy_overrides() method.

This policy can be created by using the CORBA::ORB::create_policy() method by passing it the Security::SecEstablishTrustPolicy policy type, and the

appropriate Security::EstablishTrust structure (inserted into a CORBA::Any).

Constructor & Destructor Documentation

TAO::Security::EstablishTrustPolicy::EstablishTrustPolicy ( const ::Security::EstablishTrust trust)


TAO::Security::EstablishTrustPolicy::~EstablishTrustPolicy ( void  ) [protected]


Protected destructor to enforce proper memory management through the reference counting mechanism.

Member Function Documentation

CORBA::Policy_ptr TAO::Security::EstablishTrustPolicy::copy ( void  ) [virtual]

Reimplemented from CORBA::Policy.

void TAO::Security::EstablishTrustPolicy::destroy ( void  ) [virtual]

Reimplemented from CORBA::Policy.

CORBA::PolicyType TAO::Security::EstablishTrustPolicy::policy_type ( void  ) [virtual]

Reimplemented from CORBA::Policy.

Security::EstablishTrust TAO::Security::EstablishTrustPolicy::trust ( void  )

Return the "establish trust" value associated with this policy.

Member Data Documentation

Quality of protection which can be specified for an object reference and used to protect messages.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines