TAO_Security  2.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
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

Public Member Functions

 EstablishTrustPolicy (const ::Security::EstablishTrust &trust)
 Constructor. More...
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)
 Destructor. More...
- Protected Member Functions inherited from CORBA::LocalObject
 Object (int dummy=0)
TAO::Object_Proxy_Brokerproxy_broker () const

Private Attributes

::Security::EstablishTrust const trust_

Additional Inherited Members

- Public Types inherited from CORBA::LocalObject
typedef Object_ptr _ptr_type
typedef Object_var _var_type
typedef Object_out _out_type
- Static Public Member Functions inherited from CORBA::LocalObject
static CORBA::Boolean marshal (const Object_ptr x, TAO_OutputCDR &cdr)
static void _tao_any_destructor (void *)
static CORBA::Boolean is_nil_i (CORBA::Object_ptr obj)
static void tao_object_initialize (Object *)
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj)
static CORBA::Object_ptr _nil (void)
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
- Public Attributes inherited from SecurityLevel2::EstablishTrustPolicy
readonly attribute

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 destructor to enforce proper memory management through the reference counting mechanism.

Member Function Documentation

CORBA::Policy_ptr TAO::Security::EstablishTrustPolicy::copy ( void  )
void TAO::Security::EstablishTrustPolicy::destroy ( void  )
CORBA::PolicyType TAO::Security::EstablishTrustPolicy::policy_type ( void  )
Security::EstablishTrust TAO::Security::EstablishTrustPolicy::trust ( void  )

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

Member Data Documentation

::Security::EstablishTrust const TAO::Security::EstablishTrustPolicy::trust_

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: