TAO  2.3.3
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
CORBA::Principal Class Reference

A "Principal" identifies an authenticated entity in the network administration framework. More...

#include <Principal.h>

Collaboration diagram for CORBA::Principal:
Collaboration graph
[legend]

Public Types

typedef Principal_ptr _ptr_type
 
typedef Principal_var _var_type
 

Public Member Functions

unsigned long _incr_refcount (void)
 
unsigned long _decr_refcount (void)
 
 Principal (void)
 

Static Public Member Functions

static Principal_duplicate (Principal *)
 
static Principal_nil (void)
 

Public Attributes

CORBA::OctetSeq id
 

Protected Member Functions

 ~Principal (void)
 Destructor. More...
 

Private Member Functions

Principaloperator= (const CORBA::Principal_ptr &)
 
 Principal (const CORBA::Principal_ptr &)
 

Private Attributes

ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > refcount_
 Reference counter. More...
 

Detailed Description

A "Principal" identifies an authenticated entity in the network administration framework.

Identities are used to control acccess (authorization) as well as in audit trails (accountability).

Note
This CORBA feature has been deprecated by the OMG. Use the CORBA Security Service instead.

Member Typedef Documentation

Constructor & Destructor Documentation

CORBA::Principal::Principal ( void  )
CORBA::Principal::~Principal ( void  )
protected

Destructor.

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

CORBA::Principal::Principal ( const CORBA::Principal_ptr )
private

Member Function Documentation

unsigned long CORBA::Principal::_decr_refcount ( void  )
CORBA::Principal * CORBA::Principal::_duplicate ( CORBA::Principal x)
static
unsigned long CORBA::Principal::_incr_refcount ( void  )
CORBA::Principal * CORBA::Principal::_nil ( void  )
static
Principal& CORBA::Principal::operator= ( const CORBA::Principal_ptr )
private

Member Data Documentation

CORBA::OctetSeq CORBA::Principal::id
ACE_Atomic_Op<TAO_SYNCH_MUTEX, unsigned long> CORBA::Principal::refcount_
private

Reference counter.


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