#include <SL2_EstablishTrustPolicy.h>
Inheritance diagram for TAO::Security::EstablishTrustPolicy:
Public Member Functions | |
EstablishTrustPolicy (const::Security::EstablishTrust &trust) | |
Constructor. | |
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. | |
Private Attributes | |
::Security::EstablishTrust const | trust_ |
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.
Definition at line 54 of file SL2_EstablishTrustPolicy.h.
|
Constructor.
Definition at line 15 of file SL2_EstablishTrustPolicy.cpp.
00017 : trust_ (trust) 00018 { 00019 } |
|
Destructor. Protected destructor to enforce proper memory management through the reference counting mechanism. Definition at line 21 of file SL2_EstablishTrustPolicy.cpp.
00022 { 00023 } |
|
Implements CORBA::Policy. Definition at line 32 of file SL2_EstablishTrustPolicy.cpp. References ACE_NEW_THROW_EX.
00033 { 00034 TAO::Security::EstablishTrustPolicy *policy = 0; 00035 ACE_NEW_THROW_EX (policy, 00036 TAO::Security::EstablishTrustPolicy (this->trust_), 00037 CORBA::NO_MEMORY ( 00038 CORBA::SystemException::_tao_minor_code ( 00039 TAO::VMCID, 00040 ENOMEM), 00041 CORBA::COMPLETED_NO)); 00042 00043 return policy; 00044 } |
|
Implements CORBA::Policy. Definition at line 47 of file SL2_EstablishTrustPolicy.cpp.
00048 { 00049 } |
|
Implements CORBA::Policy. Definition at line 26 of file SL2_EstablishTrustPolicy.cpp.
00027 { 00028 return ::Security::SecEstablishTrustPolicy; 00029 } |
|
Return the "establish trust" value associated with this policy. Definition at line 52 of file SL2_EstablishTrustPolicy.cpp. References trust_.
00053 { 00054 return this->trust_; 00055 } |
|
Quality of protection which can be specified for an object reference and used to protect messages. Definition at line 91 of file SL2_EstablishTrustPolicy.h. Referenced by trust(). |