To help troubleshooting the CMCAuth has been modified to log a message when the CMC is missing.
Pushed to master under trivial rule. -- Endi S. Dewata
>From 5a5de168a66e81b9b00bc5fe47ef0e3c1a3e4701 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" <[email protected]> Date: Fri, 17 Feb 2017 01:28:35 +0100 Subject: [PATCH] Added log message in CMCAuth. To help troubleshooting the CMCAuth has been modified to log a message when the CMC is missing. --- base/server/cms/src/com/netscape/cms/authentication/CMCAuth.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/server/cms/src/com/netscape/cms/authentication/CMCAuth.java b/base/server/cms/src/com/netscape/cms/authentication/CMCAuth.java index 44dbed04309e566578b468b73a3edc1f2853dc1e..8523189c812328de7488c8a9181d1f64df49e17a 100644 --- a/base/server/cms/src/com/netscape/cms/authentication/CMCAuth.java +++ b/base/server/cms/src/com/netscape/cms/authentication/CMCAuth.java @@ -262,6 +262,8 @@ public class CMCAuth implements IAuthManager, IExtendedPluginInfo, } String cmc = (String) returnVal; if (cmc == null) { + CMS.debug("CMCAuth: Authentication failed. Missing CMC."); + // store a message in the signed audit log file auditMessage = CMS.getLogMessage( LOGGING_SIGNED_AUDIT_CMC_SIGNED_REQUEST_SIG_VERIFY, -- 2.5.5
_______________________________________________ Pki-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/pki-devel
