TAO_Security  3.0.0
Public Member Functions | List of all members
TAO::Security::EstablishTrustPolicy Class Reference

Implementation of the SecurityLevel2::EstablishTrustPolicy. More...

#include <SL2_EstablishTrustPolicy.h>

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

Public Member Functions

 EstablishTrustPolicy (const ::Security::EstablishTrust &trust)
 Constructor. More...
 
- Public Member Functions inherited from CORBA::LocalObject
virtual ~LocalObject ()
 
virtual CORBA::Boolean _non_existent ()
 
virtual char * _repository_id ()
 
virtual CORBA::InterfaceDef_ptr _get_interface ()
 
virtual CORBA::Object_ptr _get_component ()
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual void _create_request (CORBA::Context_ptr ctx, const char *operation, CORBA::NVList_ptr arg_list, CORBA::NamedValue_ptr result, CORBA::ExceptionList_ptr exclist, CORBA::ContextList_ptr ctxtlist, CORBA::Request_ptr &request, CORBA::Flags req_flags)
 
virtual CORBA::Request_ptr _request (const char *operation)
 
CORBA::Policy_ptr _get_policy (CORBA::PolicyType type)
 
CORBA::Policy_ptr _get_cached_policy (TAO_Cached_Policy_Type type)
 
CORBA::Object_ptr _set_policy_overrides (const CORBA::PolicyList &policies, CORBA::SetOverrideType set_add)
 
CORBA::PolicyList_get_policy_overrides (const CORBA::PolicyTypeSeq &types)
 
CORBA::Boolean _validate_connection (CORBA::PolicyList_out inconsistent_policies)
 
virtual CORBA::ULong _hash (CORBA::ULong maximum)
 
virtual CORBA::Boolean _is_equivalent (CORBA::Object_ptr other_obj)
 
virtual CORBA::ORB_ptr _get_orb ()
 
virtual TAO::ObjectKey_key ()
 
- Public Member Functions inherited from CORBA::Object
virtual ~Object ()
 
virtual CORBA::Boolean _is_a (const char *logical_type_id)
 
virtual const char * _interface_repository_id () const
 
CORBA::Policy_ptr _get_policy (CORBA::PolicyType type)
 
CORBA::Policy_ptr _get_cached_policy (TAO_Cached_Policy_Type type)
 
CORBA::Object_ptr _set_policy_overrides (const CORBA::PolicyList &policies, CORBA::SetOverrideType set_add)
 
CORBA::PolicyList_get_policy_overrides (const CORBA::PolicyTypeSeq &types)
 
CORBA::Boolean _validate_connection (CORBA::PolicyList_out inconsistent_policies)
 
virtual void _add_ref ()
 
virtual void _remove_ref ()
 
virtual CORBA::ULong _refcount_value () const
 
virtual TAO_Abstract_ServantBase_servant () const
 
virtual CORBA::Boolean _is_collocated () const
 
virtual CORBA::Boolean _is_local () const
 
 Object (TAO_Stub *p, CORBA::Boolean collocated=false, TAO_Abstract_ServantBase *servant=0, TAO_ORB_Core *orb_core=0)
 
 Object (IOP::IOR *ior, TAO_ORB_Core *orb_core)
 
virtual TAO_Stub_stubobj () const
 
virtual TAO_Stub_stubobj ()
 
virtual void _proxy_broker (TAO::Object_Proxy_Broker *proxy_broker)
 
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)
 
CORBA::Boolean is_evaluated () const
 
TAO_ORB_Coreorb_core () const
 
IOP::IORsteal_ior ()
 
const IOP::IORior () const
 
virtual bool can_convert_to_ior () const
 
virtual char * convert_to_ior (bool use_omg_ior_format, const char *ior_prefix) const
 
void _decr_refcount ()
 

CORBA::Policy Methods

::Security::EstablishTrust const trust_
 
virtual CORBA::PolicyType policy_type (void)
 
virtual CORBA::Policy_ptr copy (void)
 
virtual void destroy (void)
 
virtual ::Security::EstablishTrust trust (void)
 
 ~EstablishTrustPolicy (void)
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from CORBA::LocalObject
typedef LocalObject_ptr _ptr_type
 
typedef LocalObject_var _var_type
 
typedef LocalObject_out _out_type
 
- Public Types inherited from CORBA::Object
typedef Object_ptr _ptr_type
 
typedef Object_var _var_type
 
typedef Object_out _out_type
 
- Static Public Member Functions inherited from CORBA::LocalObject
static LocalObject_ptr _duplicate (LocalObject_ptr obj)
 
static LocalObject_ptr _nil ()
 
static LocalObject_ptr _narrow (CORBA::Object_ptr obj)
 
- Static Public Member Functions inherited from CORBA::Object
static CORBA::Object_ptr _duplicate (CORBA::Object_ptr obj)
 
static CORBA::Object_ptr _nil ()
 
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
 
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 *)
 
- Public Attributes inherited from SecurityLevel2::EstablishTrustPolicy
- Public Attributes inherited from CORBA::Policy
- Protected Member Functions inherited from CORBA::LocalObject
 LocalObject ()
 
- Protected Member Functions inherited from CORBA::Object
 Object (int dummy=0)
 
TAO::Object_Proxy_Brokerproxy_broker () const
 
- Protected Attributes inherited from CORBA::Object
std::atomic< uint32_t > refcount_
 

Detailed Description

Implementation of the SecurityLevel2::EstablishTrustPolicy.

This policy can be used to enable or disable establishment of trust in the client or the target or both 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::SecEstablishTrustPolicy policy type, and the

appropriate Security::EstablishTrust structure (inserted into a CORBA::Any).

Constructor & Destructor Documentation

◆ EstablishTrustPolicy()

TAO::Security::EstablishTrustPolicy::EstablishTrustPolicy ( const ::Security::EstablishTrust trust)

Constructor.

◆ ~EstablishTrustPolicy()

TAO::Security::EstablishTrustPolicy::~EstablishTrustPolicy ( void  )
protected

Destructor.

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

Member Function Documentation

◆ copy()

CORBA::Policy_ptr TAO::Security::EstablishTrustPolicy::copy ( void  )
virtual

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

Implements CORBA::Policy.

◆ destroy()

void TAO::Security::EstablishTrustPolicy::destroy ( void  )
virtual

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

Implements CORBA::Policy.

◆ policy_type()

CORBA::PolicyType TAO::Security::EstablishTrustPolicy::policy_type ( void  )
virtual

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

Implements CORBA::Policy.

◆ trust()

Security::EstablishTrust TAO::Security::EstablishTrustPolicy::trust ( void  )

Return the "establish trust" value associated with this policy.

Implements SecurityLevel2::EstablishTrustPolicy.

Member Data Documentation

◆ trust_

::Security::EstablishTrust const TAO::Security::EstablishTrustPolicy::trust_
private

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: