From 944d11bb1a45f00cdca2cb689c6decc2357f7091 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Sat, 19 Mar 2005 18:07:24 +0000 Subject: [PATCH] Changed to using DN in cache log messages rather than entire certificate. --- .../providers/x509/cache/EhCacheBasedX509UserCache.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/acegisecurity/providers/x509/cache/EhCacheBasedX509UserCache.java b/core/src/main/java/org/acegisecurity/providers/x509/cache/EhCacheBasedX509UserCache.java index 22e26fc69f..15fdb20461 100644 --- a/core/src/main/java/org/acegisecurity/providers/x509/cache/EhCacheBasedX509UserCache.java +++ b/core/src/main/java/org/acegisecurity/providers/x509/cache/EhCacheBasedX509UserCache.java @@ -66,7 +66,7 @@ public class EhCacheBasedX509UserCache implements X509UserCache, InitializingBea } if (logger.isDebugEnabled()) { - logger.debug("Cache hit: " + (element != null) + "; subjectDN: " + logger.debug("X.509 Cache hit. SubjectDN: " + userCert.getSubjectDN()); } @@ -85,7 +85,7 @@ public class EhCacheBasedX509UserCache implements X509UserCache, InitializingBea Element element = new Element(userCert, user); if (logger.isDebugEnabled()) { - logger.debug("Cache put: " + element.getKey()); + logger.debug("Cache put: " + userCert.getSubjectDN()); } cache.put(element);