00001 // $Id: SSLIOP_CredentialsAcquirerFactory.cpp 76589 2007-01-25 18:04:11Z elliott_c $ 00002 00003 #include "orbsvcs/SSLIOP/SSLIOP_CredentialsAcquirerFactory.h" 00004 #include "orbsvcs/SSLIOP/SSLIOP_CredentialsAcquirer.h" 00005 00006 00007 ACE_RCSID (SSLIOP, 00008 SSLIOP_CredentialsAcquirerFactory, 00009 "$Id: SSLIOP_CredentialsAcquirerFactory.cpp 76589 2007-01-25 18:04:11Z elliott_c $") 00010 00011 00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00013 00014 SecurityLevel3::CredentialsAcquirer_ptr 00015 TAO::SSLIOP::CredentialsAcquirerFactory::make ( 00016 TAO::SL3::CredentialsCurator_ptr curator, 00017 const CORBA::Any & acquisition_arguments) 00018 { 00019 SecurityLevel3::CredentialsAcquirer_ptr ca; 00020 ACE_NEW_THROW_EX (ca, 00021 TAO::SSLIOP::CredentialsAcquirer (curator, 00022 acquisition_arguments), 00023 CORBA::NO_MEMORY ()); 00024 00025 return ca; 00026 } 00027 00028 TAO_END_VERSIONED_NAMESPACE_DECL