Changed to using DN in cache log messages rather than entire certificate.
This commit is contained in:
parent
3e63685776
commit
944d11bb1a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue