Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TAO_PrincipalAuthenticator Class Reference

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

#include <PrincipalAuthenticator.h>

Inheritance diagram for TAO_PrincipalAuthenticator:

Inheritance graph
[legend]
Collaboration diagram for TAO_PrincipalAuthenticator:

Collaboration graph
[legend]
List of all members.

Downcast Related Methods

Methods used for downcasting and manipulating the reference count of this interface.

typedef TAO_PrincipalAuthenticator_ptr _ptr_type
typedef TAO_PrincipalAuthenticator_var _var_type
virtual const char * _interface_repository_id (void) const
TAO_PrincipalAuthenticator_ptr _duplicate (TAO_PrincipalAuthenticator_ptr obj)
TAO_PrincipalAuthenticator_ptr _narrow (CORBA::Object_ptr obj ACE_ENV_ARG_DECL_WITH_DEFAULTS)
TAO_PrincipalAuthenticator_ptr _nil (void)

Public Methods

 TAO_PrincipalAuthenticator (TAO_SecurityManager *manager)
 Constructor.

void register_vault (SecurityReplaceable::Vault_ptr vault ACE_ENV_ARG_DECL_WITH_DEFAULTS)
SecurityLevel2::PrincipalAuthenticator Methods
Methods exposed by the SecurityLevel2::PrincipalAuthenticator interface.

virtual Security::AuthenticationMethodListget_supported_authen_methods (const char *mechanism ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
virtual Security::AuthenticationStatus authenticate (Security::AuthenticationMethod method, const char *mechanism, const char *security_name, const CORBA::Any &auth_data, const Security::AttributeList &privileges, SecurityLevel2::Credentials_out creds, CORBA::Any_out continuation_data, CORBA::Any_out auth_specific_data ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
virtual Security::AuthenticationStatus continue_authentication (const CORBA::Any &response_data, SecurityLevel2::Credentials_ptr creds, CORBA::Any_out continuation_data, CORBA::Any_out auth_specific_data ACE_ENV_ARG_DECL_WITH_DEFAULTS) throw (CORBA::SystemException)
 Continue partially completed authentication process.


Protected Methods

 ~TAO_PrincipalAuthenticator (void)
 Destructor.


Private Attributes

ACE_Array_Base< void * > vaults_
 Array of registered security mechanism-specific Vaults.

TAO_SecurityManagersecurity_manager_

Detailed Description

Implementation of the SecurityLevel2::PrincipalAuthenticator interface.

This class implements the chain-of-responsibility design pattern to decide which security mechanism


Member Typedef Documentation

typedef TAO_PrincipalAuthenticator_ptr TAO_PrincipalAuthenticator::_ptr_type
 

Reimplemented from CORBA::LocalObject.

typedef TAO_PrincipalAuthenticator_var TAO_PrincipalAuthenticator::_var_type
 

Reimplemented from CORBA::LocalObject.


Constructor & Destructor Documentation

TAO_PrincipalAuthenticator::TAO_PrincipalAuthenticator TAO_SecurityManager   manager
 

Constructor.

TAO_PrincipalAuthenticator::~TAO_PrincipalAuthenticator void    [protected]
 

Destructor.

Protected destructor to enforce the fact this class is reference counted, and should not be destroyed using delete() by anything other than the reference counting mechanism.


Member Function Documentation

TAO_PrincipalAuthenticator_ptr TAO_PrincipalAuthenticator::_duplicate TAO_PrincipalAuthenticator_ptr    obj [static]
 

const char * TAO_PrincipalAuthenticator::_interface_repository_id void    const [virtual]
 

Reimplemented from CORBA::Object.

TAO_PrincipalAuthenticator_ptr TAO_PrincipalAuthenticator::_narrow CORBA::Object_ptr obj    ACE_ENV_ARG_DECL_WITH_DEFAULTS [static]
 

Reimplemented from CORBA::LocalObject.

TAO_PrincipalAuthenticator_ptr TAO_PrincipalAuthenticator::_nil void    [inline, static]
 

Reimplemented from CORBA::LocalObject.

Security::AuthenticationStatus TAO_PrincipalAuthenticator::authenticate Security::AuthenticationMethod    method,
const char *    mechanism,
const char *    security_name,
const CORBA::Any   auth_data,
const Security::AttributeList   privileges,
SecurityLevel2::Credentials_out    creds,
CORBA::Any_out    continuation_data,
CORBA::Any_out auth_specific_data    ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException) [virtual]
 

Created Credentials will be placed in the SecurityManager object's own_credentials list.

If authenticate() returns with a Security::SecAuthContinue, e.g. due to an inability to complete authentication in a single operation, then authentication must completed using the continue_authentication() method.

Security::AuthenticationStatus TAO_PrincipalAuthenticator::continue_authentication const CORBA::Any   response_data,
SecurityLevel2::Credentials_ptr    creds,
CORBA::Any_out    continuation_data,
CORBA::Any_out auth_specific_data    ACE_ENV_ARG_DECL_WITH_DEFAULTS
throw (CORBA::SystemException) [virtual]
 

Continue partially completed authentication process.

virtual Security::AuthenticationMethodList* TAO_PrincipalAuthenticator::get_supported_authen_methods const char *mechanism    ACE_ENV_ARG_DECL_WITH_DEFAULTS throw (CORBA::SystemException) [virtual]
 

Return the authentication methods supported by the given mechanism.

void TAO_PrincipalAuthenticator::register_vault SecurityReplaceable::Vault_ptr vault    ACE_ENV_ARG_DECL_WITH_DEFAULTS
 

Note:
This is a TAO-specific extension.


Member Data Documentation

TAO_SecurityManager* TAO_PrincipalAuthenticator::security_manager_ [private]
 

Pointer to the SecurityManager that "owns" this PrincipalAuthenticator.

ACE_Array_Base<void *> TAO_PrincipalAuthenticator::vaults_ [private]
 

Array of registered security mechanism-specific Vaults.


The documentation for this class was generated from the following files:
Generated on Fri Apr 2 19:07:22 2004 for TAO_Security by doxygen1.2.18