projects
/
shibboleth
/
cpp-sp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
72e8f75
)
https://issues.shibboleth.net/jira/browse/SSPCPP-404
author
Scott Cantor
<cantor.2@osu.edu>
Wed, 9 Nov 2011 18:49:36 +0000
(18:49 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Wed, 9 Nov 2011 18:49:36 +0000
(18:49 +0000)
shibsp/impl/StorageServiceSessionCache.cpp
patch
|
blob
|
history
diff --git
a/shibsp/impl/StorageServiceSessionCache.cpp
b/shibsp/impl/StorageServiceSessionCache.cpp
index
65ac383
..
8139b02
100644
(file)
--- a/
shibsp/impl/StorageServiceSessionCache.cpp
+++ b/
shibsp/impl/StorageServiceSessionCache.cpp
@@
-424,10
+424,8
@@
void StoredSession::validate(const Application& app, const char* client_addr, ti
// Address check?
if (client_addr) {
// 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)) {
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)
throw RetryableProfileException(
"Your IP address ($1) does not match the address recorded at the time the session was established.",
params(1,client_addr)