TAO::Security::SecurityManager Class Reference

#include <SL2_SecurityManager.h>

Inheritance diagram for TAO::Security::SecurityManager:

Inheritance graph
[legend]
Collaboration diagram for TAO::Security::SecurityManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SecurityManager ()
 Constructor.
SecurityLevel2::SecurityManager Methods
Methods required by the SecurityLevel2::SecurityManager interface.

virtual ::Security::MechandOptionsListsupported_mechanisms ()
virtual SecurityLevel2::CredentialsListown_credentials ()
virtual SecurityLevel2::RequiredRights_ptr required_rights_object ()
virtual SecurityLevel2::PrincipalAuthenticator_ptr principal_authenticator ()
virtual SecurityLevel2::AccessDecision_ptr access_decision ()
virtual SecurityLevel2::AuditDecision_ptr audit_decision ()
virtual SecurityLevel2::TargetCredentials_ptr get_target_credentials (CORBA::Object_ptr o)
virtual void remove_own_credentials (SecurityLevel2::Credentials_ptr creds)
virtual CORBA::Policy_ptr get_security_policy (CORBA::PolicyType policy_type)

Protected Member Functions

virtual ~SecurityManager (void)
 Destructor.

Private Attributes

SecurityLevel2::PrincipalAuthenticator_var principal_authenticator_
SecurityLevel2::AccessDecision_var access_decision_

Detailed Description

Definition at line 167 of file SL2_SecurityManager.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO::Security::SecurityManager::SecurityManager (  ) 

Constructor.

Definition at line 19 of file SL2_SecurityManager.cpp.

References CORBA::SystemException::_tao_minor_code(), ACE_NEW_THROW_EX, CORBA::COMPLETED_NO, and TAO::VMCID.

00020   : principal_authenticator_ (SecurityLevel2::PrincipalAuthenticator::_nil ())
00021 {
00022   // this needs to change to access decision
00023   SecurityLevel2::AccessDecision_ptr ad;
00024   ACE_NEW_THROW_EX (ad,
00025                     TAO::Security::AccessDecision,
00026                     CORBA::NO_MEMORY (
00027                       CORBA::SystemException::_tao_minor_code (
00028                         TAO::VMCID,
00029                         ENOMEM),
00030                       CORBA::COMPLETED_NO));
00031 
00032   this->access_decision_ = ad;
00033 }

TAO::Security::SecurityManager::~SecurityManager ( void   )  [protected, virtual]

Destructor.

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

Definition at line 35 of file SL2_SecurityManager.cpp.

00036 {
00037 }


Member Function Documentation

SecurityLevel2::AccessDecision_ptr TAO::Security::SecurityManager::access_decision (  )  [virtual]

Definition at line 65 of file SL2_SecurityManager.cpp.

00066 {
00067   return SecurityLevel2::AccessDecision::_duplicate (this->access_decision_.in () );
00068 }

SecurityLevel2::AuditDecision_ptr TAO::Security::SecurityManager::audit_decision (  )  [virtual]

Definition at line 71 of file SL2_SecurityManager.cpp.

00072 {
00073   throw CORBA::NO_IMPLEMENT ();
00074 }

CORBA::Policy_ptr TAO::Security::SecurityManager::get_security_policy ( CORBA::PolicyType  policy_type  )  [virtual]

Definition at line 91 of file SL2_SecurityManager.cpp.

00092 {
00093   throw CORBA::NO_IMPLEMENT ();
00094 }

SecurityLevel2::TargetCredentials_ptr TAO::Security::SecurityManager::get_target_credentials ( CORBA::Object_ptr  o  )  [virtual]

Definition at line 77 of file SL2_SecurityManager.cpp.

00078 {
00079   throw CORBA::NO_IMPLEMENT ();
00080 }

SecurityLevel2::CredentialsList * TAO::Security::SecurityManager::own_credentials (  )  [virtual]

Definition at line 46 of file SL2_SecurityManager.cpp.

00047 {
00048   throw CORBA::NO_IMPLEMENT ();
00049 }

SecurityLevel2::PrincipalAuthenticator_ptr TAO::Security::SecurityManager::principal_authenticator (  )  [virtual]

Definition at line 58 of file SL2_SecurityManager.cpp.

00059 {
00060   return SecurityLevel2::PrincipalAuthenticator::_duplicate
00061     (this->principal_authenticator_.in () );
00062 }

void TAO::Security::SecurityManager::remove_own_credentials ( SecurityLevel2::Credentials_ptr  creds  )  [virtual]

Definition at line 84 of file SL2_SecurityManager.cpp.

00085 {
00086   throw CORBA::NO_IMPLEMENT ();
00087 }

SecurityLevel2::RequiredRights_ptr TAO::Security::SecurityManager::required_rights_object (  )  [virtual]

Definition at line 52 of file SL2_SecurityManager.cpp.

00053 {
00054   throw CORBA::NO_IMPLEMENT ();
00055 }

Security::MechandOptionsList * TAO::Security::SecurityManager::supported_mechanisms (  ) 

Definition at line 40 of file SL2_SecurityManager.cpp.

00041 {
00042   throw CORBA::NO_IMPLEMENT ();
00043 }


Member Data Documentation

SecurityLevel2::AccessDecision_var TAO::Security::SecurityManager::access_decision_ [private]

Definition at line 211 of file SL2_SecurityManager.h.

SecurityLevel2::PrincipalAuthenticator_var TAO::Security::SecurityManager::principal_authenticator_ [private]

The ORB-specific SecurityLevel2::PrincipalAuthenticator reference.

Definition at line 208 of file SL2_SecurityManager.h.


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:48:32 2010 for TAO_Security by  doxygen 1.4.7