#include <SL2_SecurityManager.h>
Inheritance diagram for TAO::Security::SecurityManager:
Public Member Functions | |
SecurityManager () | |
Constructor. | |
SecurityLevel2::SecurityManager Methods | |
virtual ::Security::MechandOptionsList * | supported_mechanisms () |
virtual SecurityLevel2::CredentialsList * | own_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_ |
Definition at line 167 of file SL2_SecurityManager.h.
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.
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] |
CORBA::Policy_ptr TAO::Security::SecurityManager::get_security_policy | ( | CORBA::PolicyType | policy_type | ) | [virtual] |
SecurityLevel2::TargetCredentials_ptr TAO::Security::SecurityManager::get_target_credentials | ( | CORBA::Object_ptr | o | ) | [virtual] |
SecurityLevel2::CredentialsList * TAO::Security::SecurityManager::own_credentials | ( | ) | [virtual] |
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] |
SecurityLevel2::RequiredRights_ptr TAO::Security::SecurityManager::required_rights_object | ( | ) | [virtual] |
Security::MechandOptionsList * TAO::Security::SecurityManager::supported_mechanisms | ( | ) |
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.