diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Security/SL3_ContextEstablishmentPolicy.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Security/SL3_ContextEstablishmentPolicy.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Security/SL3_ContextEstablishmentPolicy.cpp b/TAO/orbsvcs/orbsvcs/Security/SL3_ContextEstablishmentPolicy.cpp index c3322d69bb3..f37c826cfd1 100644 --- a/TAO/orbsvcs/orbsvcs/Security/SL3_ContextEstablishmentPolicy.cpp +++ b/TAO/orbsvcs/orbsvcs/Security/SL3_ContextEstablishmentPolicy.cpp @@ -31,14 +31,12 @@ TAO::SL3::ContextEstablishmentPolicy::~ContextEstablishmentPolicy (void) SecurityLevel3::CredsDirective TAO::SL3::ContextEstablishmentPolicy::creds_directive () - ACE_THROW_SPEC ((CORBA::SystemException)) { return this->creds_directive_; } SecurityLevel3::OwnCredentialsList * TAO::SL3::ContextEstablishmentPolicy::creds_list (void) - ACE_THROW_SPEC ((CORBA::SystemException)) { SecurityLevel3::OwnCredentialsList * creds = 0; @@ -51,44 +49,38 @@ TAO::SL3::ContextEstablishmentPolicy::creds_list (void) SecurityLevel3::FeatureDirective TAO::SL3::ContextEstablishmentPolicy::use_client_auth () - ACE_THROW_SPEC ((CORBA::SystemException)) { return this->use_client_auth_; } SecurityLevel3::FeatureDirective TAO::SL3::ContextEstablishmentPolicy::use_target_auth () - ACE_THROW_SPEC ((CORBA::SystemException)) { return this->use_target_auth_; } SecurityLevel3::FeatureDirective TAO::SL3::ContextEstablishmentPolicy::use_confidentiality () - ACE_THROW_SPEC ((CORBA::SystemException)) { return this->use_confidentiality_; } SecurityLevel3::FeatureDirective TAO::SL3::ContextEstablishmentPolicy::use_integrity () - ACE_THROW_SPEC ((CORBA::SystemException)) { return this->use_integrity_; } CORBA::PolicyType TAO::SL3::ContextEstablishmentPolicy::policy_type () - ACE_THROW_SPEC ((CORBA::SystemException)) { return SecurityLevel3::ContextEstablishmentPolicyType; } CORBA::Policy_ptr TAO::SL3::ContextEstablishmentPolicy::copy (void) - ACE_THROW_SPEC ((CORBA::SystemException)) { - CORBA::Policy_ptr p = CORBA::Policy::_nil (); + CORBA::Policy_ptr p = CORBA::Policy_ptr (); ACE_NEW_THROW_EX (p, TAO::SL3::ContextEstablishmentPolicy ( this->creds_directive_, @@ -104,7 +96,6 @@ TAO::SL3::ContextEstablishmentPolicy::copy (void) void TAO::SL3::ContextEstablishmentPolicy::destroy () - ACE_THROW_SPEC ((CORBA::SystemException)) { this->creds_directive_ = SecurityLevel3::CD_Default; this->creds_list_.length (0); |