TAO::Security::QOPPolicy Class Reference

Implementation of the SecurityLevel2::QOPPolicy interface. More...

#include <SL2_QOPPolicy.h>

Inheritance diagram for TAO::Security::QOPPolicy:

Inheritance graph
[legend]
Collaboration diagram for TAO::Security::QOPPolicy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QOPPolicy (::Security::QOP qop)
 Constructor.

virtual::Security::QOP qop () throw (CORBA::SystemException)
CORBA::Policy Methods
virtual CORBA::PolicyType policy_type () throw (CORBA::SystemException)
virtual CORBA::Policy_ptr copy () throw (CORBA::SystemException)
virtual void destroy () throw (CORBA::SystemException)

Protected Member Functions

 ~QOPPolicy (void)
 Destructor.


Private Attributes

::Security::QOP const  qop_

Detailed Description

Implementation of the SecurityLevel2::QOPPolicy interface.

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.

This policy can be created by using the CORBA::ORB::create_policy() method by passing it the Security::SecQOPPolicy policy type, and the appropriate Security::QOP enumeration (inserted into a CORBA::Any).

Definition at line 51 of file SL2_QOPPolicy.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO::Security::QOPPolicy::QOPPolicy ::Security::QOP  qop  ) 
 

Constructor.

Definition at line 15 of file SL2_QOPPolicy.cpp.

00016   : qop_ (qop)
00017 {
00018 }

TAO::Security::QOPPolicy::~QOPPolicy void   )  [protected]
 

Destructor.

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

Definition at line 20 of file SL2_QOPPolicy.cpp.

00021 {
00022 }


Member Function Documentation

virtual CORBA::Policy_ptr TAO::Security::QOPPolicy::copy  )  throw (CORBA::SystemException) [virtual]
 

Implements CORBA::Policy.

virtual void TAO::Security::QOPPolicy::destroy  )  throw (CORBA::SystemException) [virtual]
 

Implements CORBA::Policy.

virtual CORBA::PolicyType TAO::Security::QOPPolicy::policy_type  )  throw (CORBA::SystemException) [virtual]
 

Implements CORBA::Policy.

virtual ::Security::QOP TAO::Security::QOPPolicy::qop  )  throw (CORBA::SystemException)
 

Return the Quality-of-Protection value associated with this policy.


Member Data Documentation

::Security::QOP const TAO::Security::QOPPolicy::qop_ [private]
 

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

Definition at line 92 of file SL2_QOPPolicy.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:52:40 2006 for TAO_Security by doxygen 1.3.6