summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/RegistryServerAdminRouter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/RegistryServerAdminRouter.cpp')
-rw-r--r--cpp/src/IceGrid/RegistryServerAdminRouter.cpp20
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