TAO_Security  2.1.9
 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::QOPPolicy Class Reference

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

#include <SL2_QOPPolicy.h>

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

Public Member Functions

 QOPPolicy (::Security::QOP qop)
 Constructor. More...
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. More...
- Protected Member Functions inherited from CORBA::LocalObject
 Object (int dummy=0)
TAO::Object_Proxy_Brokerproxy_broker () const

Private Attributes

::Security::QOP const qop_

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::QOPPolicy
readonly attribute Security::QOP 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).

Constructor & Destructor Documentation

TAO::Security::QOPPolicy::QOPPolicy ( ::Security::QOP  qop)


TAO::Security::QOPPolicy::~QOPPolicy ( void  )


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

Member Function Documentation

CORBA::Policy_ptr TAO::Security::QOPPolicy::copy ( void  )
void TAO::Security::QOPPolicy::destroy ( void  )
CORBA::PolicyType TAO::Security::QOPPolicy::policy_type ( void  )
Security::QOP TAO::Security::QOPPolicy::qop ( void  )

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

Member Data Documentation

::Security::QOP const TAO::Security::QOPPolicy::qop_

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: