[cpp-sp COMMIT] /branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp

noreply at shibboleth.net noreply at shibboleth.net
Wed Nov 9 18:49:37 GMT 2011


Author: scantor
Date: Wed Nov  9 18:49:36 2011
New Revision: 3540

URL: http://svn.shibboleth.net/view/cpp-sp?rev=3540&view=rev
Log:
https://issues.shibboleth.net/jira/browse/SSPCPP-404

Modified:
    branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp

Modified: branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp
URL: http://svn.shibboleth.net/view/cpp-sp/branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp?rev=3540&r1=3539&r2=3540&view=diff
==============================================================================
--- branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp (original)
+++ branches/REL_2/shibsp/impl/StorageServiceSessionCache.cpp Wed Nov  9 18:49:36 2011
@@ -424,10 +424,8 @@
 
     // Address check?
     if (client_addr) {
-        if (m_cache->m_log.isDebugEnabled())
-            m_cache->m_log.debug("comparing client address %s against %s", client_addr, getClientAddress());
         if (!XMLString::equals(getClientAddress(),client_addr)) {
-            m_cache->m_log.warn("client address mismatch");
+            m_cache->m_log.warn("client address mismatch, client (%s), session (%s)", client_addr, getClientAddress());
             throw RetryableProfileException(
                 "Your IP address ($1) does not match the address recorded at the time the session was established.",
                 params(1,client_addr)



More information about the commits mailing list