#include <SL3_CredentialsCurator.h>
Inheritance diagram for TAO::SL3::CredentialsCurator:
Public Types | |
typedef ACE_Map_Manager< const char *, TAO::SL3::CredentialsAcquirerFactory *, ACE_Null_Mutex > | Acquirer_Factory_Table |
typedef Acquirer_Factory_Table::iterator | Factory_Iterator |
typedef ACE_Hash_Map_Manager_Ex< const char *, SecurityLevel3::OwnCredentials_var, ACE_Hash< const char * >, ACE_Equal_To< const char * >, ACE_Null_Mutex > | Credentials_Table |
typedef Credentials_Table::iterator | Credentials_Iterator |
Public Member Functions | |
CredentialsCurator (void) | |
Constructor. | |
void | register_acquirer_factory (const char *acquisition_method, TAO::SL3::CredentialsAcquirerFactory *factory ACE_ENV_ARG_DECL) |
Register CredentialsAcquirer factory. | |
void | _tao_add_own_credentials (SecurityLevel3::OwnCredentials_ptr credentials ACE_ENV_ARG_DECL) |
SecurityLevel3::CredentialsCurator Methods | |
Methods required by the SecurityLevel3::CredentialsCurator interface. | |
virtual SecurityLevel3::AcquisitionMethodList * | supported_methods (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException) |
virtual SecurityLevel3::CredentialsAcquirer_ptr | acquire_credentials (const char *acquisition_method, const CORBA::Any &acquisition_arguments ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
virtual SecurityLevel3::OwnCredentialsList * | default_creds_list (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException) |
virtual SecurityLevel3::CredentialsIdList * | default_creds_ids (ACE_ENV_SINGLE_ARG_DECL) throw (CORBA::SystemException) |
virtual SecurityLevel3::OwnCredentials_ptr | get_own_credentials (const char *credentials_id ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
virtual void | release_own_credentials (const char *credentials_id ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
Static Public Member Functions | |
CredentialsCurator_ptr | _duplicate (CredentialsCurator_ptr obj) |
CredentialsCurator_ptr | _nil (void) |
CredentialsCurator_ptr | _narrow (CORBA::Object_ptr obj ACE_ENV_ARG_DECL) |
Protected Member Functions | |
~CredentialsCurator (void) | |
Destructor. | |
Private Attributes | |
TAO_SYNCH_MUTEX | lock_ |
Lock used to synchronize access to underlying tables. | |
Acquirer_Factory_Table | acquirer_factories_ |
Table of CredentialsAcquirer factories. | |
Credentials_Table | credentials_table_ |
Table of OwnCredentials. |
This class provides a means for creating and managing OwnCredentials.
|
The type of table that maps acquisition method to acquirer factory. |
|
|
|
|
|
|
|
Constructor.
|
|
Destructor. Protected destructor to enforce proper memory management through the reference counting mechanism. |
|
|
|
Reimplemented from CORBA::LocalObject. |
|
Reimplemented from CORBA::LocalObject. |
|
TAO-specific means of adding credentials to this CredentialsCurator's "own credentials" list. |
|
|
|
|
|
|
|
|
|
Register CredentialsAcquirer factory.
|
|
|
|
|
|
Table of CredentialsAcquirer factories.
|
|
Table of OwnCredentials.
|
|
Lock used to synchronize access to underlying tables.
|