Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Portable_Interceptors / Benchmark / test_i.cpp
blobf11b29b637b4b220bdd79f4d76d655de6f0cacc2
1 #include "test_i.h"
2 #include "marker.h"
3 #include "ace/OS_NS_string.h"
5 Secure_Vault_i::Secure_Vault_i (CORBA::ORB_ptr orb)
6 : orb_ (CORBA::ORB::_duplicate (orb))
9 // ctor
11 CORBA::Short
12 Secure_Vault_i::ready (void)
14 return 1;
17 void
18 Secure_Vault_i::authenticate (const char * user)
20 if (ACE_OS::strcmp (user, "root") != 0)
21 throw Test_Interceptors::Invalid ();
25 CORBA::Long
26 Secure_Vault_i::update_records (CORBA::Long,
27 const Test_Interceptors::Secure_Vault::Record &)
29 return 1;
32 void
33 Secure_Vault_i::shutdown (void)
35 this->orb_->shutdown (0);