Changed to using DN in cache log messages rather than entire certificate.

This commit is contained in:
Luke Taylor 2005-03-19 18:07:24 +00:00
parent 3e63685776
commit 944d11bb1a
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ public class EhCacheBasedX509UserCache implements X509UserCache, InitializingBea
} }
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug("Cache hit: " + (element != null) + "; subjectDN: " logger.debug("X.509 Cache hit. SubjectDN: "
+ userCert.getSubjectDN()); + userCert.getSubjectDN());
} }
@ -85,7 +85,7 @@ public class EhCacheBasedX509UserCache implements X509UserCache, InitializingBea
Element element = new Element(userCert, user); Element element = new Element(userCert, user);
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug("Cache put: " + element.getKey()); logger.debug("Cache put: " + userCert.getSubjectDN());
} }
cache.put(element); cache.put(element);