diff --git a/base/server/src/main/java/com/netscape/cms/publish/mappers/LdapSimpleMap.java b/base/server/src/main/java/com/netscape/cms/publish/mappers/LdapSimpleMap.java index f68bf0c287c..ecf7561cbc8 100644 --- a/base/server/src/main/java/com/netscape/cms/publish/mappers/LdapSimpleMap.java +++ b/base/server/src/main/java/com/netscape/cms/publish/mappers/LdapSimpleMap.java @@ -275,7 +275,9 @@ private String formDN(IRequest req, Object obj) throws X509CRLImpl crl = (X509CRLImpl) obj; subjectDN = (X500Name) crl.getIssuerDN(); - logger.warn("LdapSimpleMap: crl issuer dn: " + subjectDN + ": " + e.getMessage(), e); + // We know by now that obj is X509CRLImpl instead of + // X509Certificate; no warning needed + //logger.warn("LdapSimpleMap: crl issuer dn: " + subjectDN + ": " + e.getMessage(), e); } catch (ClassCastException ex) { logger.warn(CMS.getLogMessage("PUBLISH_PUBLISH_OBJ_NOT_SUPPORTED", ((req == null) ? "" : req.getRequestId().toString())), ex);