#include <SL2_QOPPolicy.h>
Inheritance diagram for TAO::Security::QOPPolicy:
Public Member Functions | |
QOPPolicy (::Security::QOP qop) | |
Constructor. | |
virtual::Security::QOP | qop (void) |
CORBA::Policy Methods | |
virtual CORBA::PolicyType | policy_type (void) |
virtual CORBA::Policy_ptr | copy (void) |
virtual void | destroy (void) |
Protected Member Functions | |
~QOPPolicy (void) | |
Destructor. | |
Private Attributes | |
::Security::QOP const | qop_ |
This policy can be used to affect the quality of protection (QoP) for invocation 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 51 of file SL2_QOPPolicy.h.
|
Constructor.
Definition at line 15 of file SL2_QOPPolicy.cpp.
00016 : qop_ (qop) 00017 { 00018 } |
|
Destructor. Protected destructor to enforce proper memory management through the reference counting mechansim. Definition at line 20 of file SL2_QOPPolicy.cpp.
00021 { 00022 } |
|
Implements CORBA::Policy. Definition at line 31 of file SL2_QOPPolicy.cpp. References ACE_NEW_THROW_EX.
00032 { 00033 TAO::Security::QOPPolicy * policy = 0; 00034 ACE_NEW_THROW_EX (policy, 00035 TAO::Security::QOPPolicy (this->qop_), 00036 CORBA::NO_MEMORY ( 00037 CORBA::SystemException::_tao_minor_code ( 00038 TAO::VMCID, 00039 ENOMEM), 00040 CORBA::COMPLETED_NO)); 00041 00042 return policy; 00043 } |
|
Implements CORBA::Policy. Definition at line 46 of file SL2_QOPPolicy.cpp.
00047 { 00048 } |
|
Implements CORBA::Policy. Definition at line 25 of file SL2_QOPPolicy.cpp.
00026 { 00027 return ::Security::SecQOPPolicy; 00028 } |
|
Return the Quality-of-Protection value associated with this policy. Definition at line 51 of file SL2_QOPPolicy.cpp. References qop_.
00052 { 00053 return this->qop_; 00054 } |
|
Quality of protection which can be specified for an object reference and used to protect messages. Definition at line 88 of file SL2_QOPPolicy.h. Referenced by qop(). |