TAO_Security 3.0.6
Public Member Functions | List of all members
TAO_Security_Current Class Reference

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

#include <Security_Current.h>

Inheritance diagram for TAO_Security_Current:
Inheritance graph
[legend]
Collaboration diagram for TAO_Security_Current:
Collaboration graph
[legend]

Public Member Functions

 TAO_Security_Current (size_t tss_slot, const char *orb_id)
 Constructor. More...
 
SecurityLevel1::Current Methods

These methods are founds in the SecurityLevel1::Current interface.

virtual Security::AttributeListget_attributes (const Security::AttributeTypeList &attributes)
 
- Public Member Functions inherited from SecurityLevel1::Current
Security::AttributeList get_attributes (in Security::AttributeTypeList attributes)
 
- 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 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 ()
 
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)
 

SecurityLevel2::Current Methods

These methods are founds in the SecurityLevel2::Current interface.

size_t const tss_slot_
 TSS slot assigned to this object. More...
 
CORBA::String_var orb_id_
 The ORBid of the ORB with which this object is registered. More...
 
TAO_ORB_Coreorb_core_
 
virtual SecurityLevel2::ReceivedCredentials_ptr received_credentials ()
 
size_t tss_slot () const
 Return the TSS slot ID assigned to the "SecurityCurrent" object. More...
 
 ~TAO_Security_Current (void)
 
int init (void)
 
TAO::Security::Current_Implimplementation (void)
 Set the TSS Security::Current implementation. More...
 
 TAO_Security_Current (const TAO_Security_Current &)=delete
 TSS slot assigned to this object. More...
 
void operator= (const TAO_Security_Current &)=delete
 TSS slot assigned to this object. 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::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 ()
 
static CORBA::Object_ptr _narrow (CORBA::Object_ptr obj)
 
- Public Attributes inherited from SecurityLevel2::Current
- 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::Current interface.

This object can be used to obtain session related security information about the current execution context.

Constructor & Destructor Documentation

◆ TAO_Security_Current() [1/2]

TAO_Security_Current::TAO_Security_Current ( size_t  tss_slot,
const char *  orb_id 
)

Constructor.

◆ ~TAO_Security_Current()

TAO_Security_Current::~TAO_Security_Current ( void  )
protected

Destructor Protected to force allocation on the heap.

◆ TAO_Security_Current() [2/2]

TAO_Security_Current::TAO_Security_Current ( const TAO_Security_Current )
privatedelete

TSS slot assigned to this object.

Member Function Documentation

◆ get_attributes()

Security::AttributeList * TAO_Security_Current::get_attributes ( const Security::AttributeTypeList attributes)
virtual

Return the security attributes corresponding to the types in the given attribute type list associated with the current request.

◆ implementation()

TAO::Security::Current_Impl * TAO_Security_Current::implementation ( void  )
protected

Set the TSS Security::Current implementation.

The pointer is actually one to a concrete implementation provided by the underlying security mechanism. For example, SSLIOP implements the SecurityLevel2::Current interface. Similarly, SECIOP would do the same.

There is no function that places the implementation pointer in TSS. The underlying security mechanism does that.

◆ init()

int TAO_Security_Current::init ( void  )
protected

Fully initialize this object. This method is used predominantly to set the ORB core pointer.

◆ operator=()

void TAO_Security_Current::operator= ( const TAO_Security_Current )
privatedelete

TSS slot assigned to this object.

◆ received_credentials()

SecurityLevel2::ReceivedCredentials_ptr TAO_Security_Current::received_credentials ( )
virtual

Return the Credentials received from the client associate with the current request.

Implements SecurityLevel2::Current.

◆ tss_slot()

size_t TAO_Security_Current::tss_slot ( ) const

Return the TSS slot ID assigned to the "SecurityCurrent" object.

The concrete TSS SecurityCurrent implementations will each use this slot ID.

Member Data Documentation

◆ orb_core_

TAO_ORB_Core* TAO_Security_Current::orb_core_
private

Pointer to the ORB Core corresponding to the ORB with which this object is registered.

◆ orb_id_

CORBA::String_var TAO_Security_Current::orb_id_
private

The ORBid of the ORB with which this object is registered.

◆ tss_slot_

size_t const TAO_Security_Current::tss_slot_
private

TSS slot assigned to this object.


The documentation for this class was generated from the following files: