diff options
author | Benoit Foucher <benoit@zeroc.com> | 2011-07-12 08:10:58 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2011-07-12 08:10:58 +0200 |
commit | 4da4a0c2eb024d61f7ceaf173dc9e9c456a0e805 (patch) | |
tree | 876bc9ed1ed4a9cdc0ff2829666c99682fc9d95d /cpp/src/IceGrid/NodeSessionManager.cpp | |
parent | Fixed bug 5166 - process deactivation bug (diff) | |
download | ice-4da4a0c2eb024d61f7ceaf173dc9e9c456a0e805.tar.bz2 ice-4da4a0c2eb024d61f7ceaf173dc9e9c456a0e805.tar.xz ice-4da4a0c2eb024d61f7ceaf173dc9e9c456a0e805.zip |
Added support for replica & name cert CN verification
Diffstat (limited to 'cpp/src/IceGrid/NodeSessionManager.cpp')
-rw-r--r-- | cpp/src/IceGrid/NodeSessionManager.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/NodeSessionManager.cpp b/cpp/src/IceGrid/NodeSessionManager.cpp index 792d8bda8f9..a10ab102b8e 100644 --- a/cpp/src/IceGrid/NodeSessionManager.cpp +++ b/cpp/src/IceGrid/NodeSessionManager.cpp @@ -110,6 +110,14 @@ NodeSessionKeepAliveThread::createSession(InternalRegistryPrx& registry, IceUtil } exception.reset(ex.ice_clone()); } + catch(const PermissionDeniedException& ex) + { + if(traceLevels) + { + traceLevels->logger->error("connection to the the registry `" + _name + "' was denied:\n" + ex.reason); + } + exception.reset(ex.ice_clone()); + } catch(const Ice::Exception& ex) { exception.reset(ex.ice_clone()); |