diff options
author | Michi Henning <michi@zeroc.com> | 2007-11-26 12:06:11 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-11-26 12:06:11 +1000 |
commit | 6c4512e4ca81944c22042c833956c8c80c1eedeb (patch) | |
tree | 6334ea8cad1dd927879473472cd26d3596e2e8ee /cpp/src/IceGrid/RegistryServerAdminRouter.cpp | |
parent | Bug 2474. (diff) | |
parent | minor edits (diff) | |
download | ice-6c4512e4ca81944c22042c833956c8c80c1eedeb.tar.bz2 ice-6c4512e4ca81944c22042c833956c8c80c1eedeb.tar.xz ice-6c4512e4ca81944c22042c833956c8c80c1eedeb.zip |
Merge branch 'master' of ssh://cvs.zeroc.com/home/git/ice
Diffstat (limited to 'cpp/src/IceGrid/RegistryServerAdminRouter.cpp')
-rw-r--r-- | cpp/src/IceGrid/RegistryServerAdminRouter.cpp | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/cpp/src/IceGrid/RegistryServerAdminRouter.cpp b/cpp/src/IceGrid/RegistryServerAdminRouter.cpp index 423639277a0..6bca684303b 100644 --- a/cpp/src/IceGrid/RegistryServerAdminRouter.cpp +++ b/cpp/src/IceGrid/RegistryServerAdminRouter.cpp @@ -42,12 +42,8 @@ private: } -IceGrid::RegistryServerAdminRouter::RegistryServerAdminRouter(const RegistryIPtr& registry, - const DatabasePtr& database, - bool checkConnection) : - _registry(registry), - _database(database), - _checkConnection(checkConnection) +IceGrid::RegistryServerAdminRouter::RegistryServerAdminRouter(const DatabasePtr& database) : + _database(database) { } @@ -56,18 +52,6 @@ IceGrid::RegistryServerAdminRouter::ice_invoke_async(const AMD_Array_Object_ice_ const pair<const Byte*, const Byte*>& inParams, const Current& current) { - if(_checkConnection) - { - // - // Verify this request is coming from a connection with an Admin Session - // - - if(!_registry->isAdminSessionConnection(current.con)) - { - throw ObjectNotExistException(__FILE__, __LINE__); - } - } - ObjectPrx target = 0; try |