TAO_Security  2.0.8
Public Member Functions | Protected Member Functions | Private Attributes
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 (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_

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)

Constructor.

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

Destructor.

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


Member Function Documentation

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

Reimplemented from CORBA::Policy.

void TAO::Security::QOPPolicy::destroy ( void  ) [virtual]

Reimplemented from CORBA::Policy.

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

Reimplemented from CORBA::Policy.

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

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


Member Data Documentation

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines