diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 6b846cf03c0bcbd8c276cb0af61a181e5f98eaae (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/orbsvcs/orbsvcs/Security/SL2_QOPPolicy.h | |
parent | 0e555b9150d38e3b3473ba325b56db2642e6352b (diff) | |
download | ATCD-6b846cf03c0bcbd8c276cb0af61a181e5f98eaae.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Security/SL2_QOPPolicy.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Security/SL2_QOPPolicy.h | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Security/SL2_QOPPolicy.h b/TAO/orbsvcs/orbsvcs/Security/SL2_QOPPolicy.h deleted file mode 100644 index ff8b99e2309..00000000000 --- a/TAO/orbsvcs/orbsvcs/Security/SL2_QOPPolicy.h +++ /dev/null @@ -1,103 +0,0 @@ -// -*- C++ -*- - -// =================================================================== -/** - * @file SL2_QOPPolicy.h - * - * $Id$ - * - * @author Ossama Othman <ossama@uci.edu> - */ -// =================================================================== - - -#ifndef TAO_SL2_QOP_POLICY_H -#define TAO_SL2_QOP_POLICY_H - -#include /**/ "ace/pre.h" - -#include "orbsvcs/Security/security_export.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "orbsvcs/SecurityLevel2C.h" - -#include "tao/LocalObject.h" - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -namespace TAO -{ - namespace Security - { - /** - * @class QOPPolicy - * - * @brief 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. - * @par - * 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). - */ - class QOPPolicy - : public virtual SecurityLevel2::QOPPolicy, - public virtual TAO_Local_RefCounted_Object - { - public: - - /// Constructor - QOPPolicy (::Security::QOP qop); - - /** - * @name CORBA::Policy Methods - */ - //@{ - virtual CORBA::PolicyType policy_type (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual CORBA::Policy_ptr copy (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - virtual void destroy (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - //@} - - /// Return the Quality-of-Protection value associated with this - /// policy. - virtual ::Security::QOP qop (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)); - - protected: - - /// Destructor - /** - * Protected destructor to enforce proper memory management - * through the reference counting mechansim. - */ - ~QOPPolicy (void); - - private: - - /// Quality of protection which can be specified for an object - /// reference and used to protect messages. - ::Security::QOP const qop_; - - }; - - } // End Security namespace -} // End TAO namespace - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" - -#endif /* TAO_SL2_QOP_POLICY_H */ |