diff options
author | Matthew Newhook <matthew@zeroc.com> | 2006-08-22 09:21:13 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2006-08-22 09:21:13 +0000 |
commit | eef65e1fbbdc6fc2b251928a02fa3596e7b91481 (patch) | |
tree | 0474bbaf2ba29f4dec7cd2505866638d076b6e39 /cpp/src/IceSSL/TrustManager.cpp | |
parent | added NullSSLPermissionsVerifier. (diff) | |
download | ice-eef65e1fbbdc6fc2b251928a02fa3596e7b91481.tar.bz2 ice-eef65e1fbbdc6fc2b251928a02fa3596e7b91481.tar.xz ice-eef65e1fbbdc6fc2b251928a02fa3596e7b91481.zip |
added more tracing.
Diffstat (limited to 'cpp/src/IceSSL/TrustManager.cpp')
-rw-r--r-- | cpp/src/IceSSL/TrustManager.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cpp/src/IceSSL/TrustManager.cpp b/cpp/src/IceSSL/TrustManager.cpp index 2a8c650b1e1..1a9b1e40401 100644 --- a/cpp/src/IceSSL/TrustManager.cpp +++ b/cpp/src/IceSSL/TrustManager.cpp @@ -109,6 +109,19 @@ TrustManager::verify(const ConnectionInfo& info) // for(list<list<DistinguishedName> >::const_iterator p = trustset.begin(); p != trustset.end(); ++p) { + if(_traceLevel > 1) + { + Ice::Trace trace(_communicator->getLogger(), "Security"); + trace << "trust manager matching PDNs:\n"; + for(list<DistinguishedName>::const_iterator r = p->begin(); r != p->end(); ++r) + { + if(r != p->begin()) + { + trace << ';'; + } + trace << string(*r); + } + } if(match(*p, subject)) { return true; |