TAO_Security 2.0.5
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes
TAO::Security::AccessDecision Class Reference

#include <SL2_SecurityManager.h>

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

List of all members.


struct  ReferenceKeyType

Public Member Functions

 AccessDecision ()
 ~AccessDecision (void)
virtual ::CORBA::Boolean access_allowed (const ::SecurityLevel2::CredentialsList &cred_list,::CORBA::Object_ptr target, const char *operation_name, const char *target_interface_name)
virtual ::CORBA::Boolean access_allowed_ex (const char *orb_id, const ::CORBA::OctetSeq &adapter_id, const ::CORBA::OctetSeq &object_id, const ::SecurityLevel2::CredentialsList &cred_list, const char *operation_name)
virtual ::CORBA::Boolean default_decision (void)
virtual void default_decision (::CORBA::Boolean d)
virtual void add_object (const char *orbid, const ::CORBA::OctetSeq &adapter_id, const ::CORBA::OctetSeq &object_id,::CORBA::Boolean allow_insecure_access)
virtual void remove_object (const char *orbid, const ::CORBA::OctetSeq &adapter_id, const ::CORBA::OctetSeq &object_id)

Private Types

typedef ReferenceKeyType OBJECT_KEY
, ACE_Equal_To< OBJECT_KEY >
, ACE_Null_Mutex

Private Member Functions

OBJECT_KEY map_key_from_objref (CORBA::Object_ptr obj)
 Encapsulates a TAO-specific way to do object_to_string() without having an ORB reference handy.
::CORBA::Boolean access_allowed_i (OBJECT_KEY &key, const char *operation_name)

Private Attributes

::CORBA::Boolean default_allowance_decision_
ACCESS_MAP_TYPE access_map_

Member Typedef Documentation

Constructor & Destructor Documentation

TAO::Security::AccessDecision::AccessDecision ( )


TAO::Security::AccessDecision::~AccessDecision ( void  )

Member Function Documentation

CORBA::Boolean TAO::Security::AccessDecision::access_allowed ( const ::SecurityLevel2::CredentialsList cred_list,
::CORBA::Object_ptr  target,
const char *  operation_name,
const char *  target_interface_name 
CORBA::Boolean TAO::Security::AccessDecision::access_allowed_ex ( const char *  orb_id,
const ::CORBA::OctetSeq &  adapter_id,
const ::CORBA::OctetSeq &  object_id,
const ::SecurityLevel2::CredentialsList cred_list,
const char *  operation_name 
CORBA::Boolean TAO::Security::AccessDecision::access_allowed_i ( OBJECT_KEY key,
const char *  operation_name 
) [private]
virtual void TAO::Security::AccessDecision::add_object ( const char *  orbid,
const ::CORBA::OctetSeq &  adapter_id,
const ::CORBA::OctetSeq &  object_id,
::CORBA::Boolean  allow_insecure_access 
) [virtual]
virtual void TAO::Security::AccessDecision::default_decision ( ::CORBA::Boolean  d) [virtual]
CORBA::Boolean TAO::Security::AccessDecision::default_decision ( void  )
TAO::Security::AccessDecision::OBJECT_KEY TAO::Security::AccessDecision::map_key_from_objref ( CORBA::Object_ptr  obj) [private]

Encapsulates a TAO-specific way to do object_to_string() without having an ORB reference handy.

If OBJECT_KEY changes as described above, this should change so that it generates an OBJECT_KEY.
void TAO::Security::AccessDecision::remove_object ( const char *  orbid,
const ::CORBA::OctetSeq &  adapter_id,
const ::CORBA::OctetSeq &  object_id 
) [virtual]

Member Data Documentation

This is the default value that's returned from access_allowed() when the access table doesn't contain an entry for the reference.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines