diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-11-23 11:25:31 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-11-23 11:25:31 +0100 |
commit | 183c7a004d0a62ddecd9eeb0bc459846d98a7614 (patch) | |
tree | 32f237ef7da3bb59647a97cc6bf036afb45266a3 /cpp/src/IceGrid/RegistryServerAdminRouter.cpp | |
parent | Fixed couple of issues with SL distributions (diff) | |
download | ice-183c7a004d0a62ddecd9eeb0bc459846d98a7614.tar.bz2 ice-183c7a004d0a62ddecd9eeb0bc459846d98a7614.tar.xz ice-183c7a004d0a62ddecd9eeb0bc459846d98a7614.zip |
Refactored IceGrid session servant management
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 |