summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2017-05-17 02:53:59 +0200
committerEndi S. Dewata <edewata@redhat.com>2017-05-17 02:58:49 +0200
commitdcbe7ce08fcf9512a6cf1ecf22ed080c0085e28a (patch)
tree40f62d0aeb98bd77f54799b1c9b79edc650461b7 /base
parent4f11d3b2aad075c965bbccb61112d443e36e4c45 (diff)
downloadpki-dcbe7ce08fcf9512a6cf1ecf22ed080c0085e28a.tar.gz
pki-dcbe7ce08fcf9512a6cf1ecf22ed080c0085e28a.tar.xz
pki-dcbe7ce08fcf9512a6cf1ecf22ed080c0085e28a.zip
Fixed audit event outcome for agent-rejected cert request.
The outcome of CERT_REQUEST_PROCESSED event has been changed to Failure when the certificate request is rejected by an agent. https://pagure.io/dogtagpki/issue/2693 Change-Id: I530de4fe08ba97a8676d56a6aaf6c11ab7c36e40
Diffstat (limited to 'base')
-rw-r--r--base/server/cms/src/com/netscape/cms/servlet/cert/RequestProcessor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/server/cms/src/com/netscape/cms/servlet/cert/RequestProcessor.java b/base/server/cms/src/com/netscape/cms/servlet/cert/RequestProcessor.java
index 4494d2cd3..d8d8803c4 100644
--- a/base/server/cms/src/com/netscape/cms/servlet/cert/RequestProcessor.java
+++ b/base/server/cms/src/com/netscape/cms/servlet/cert/RequestProcessor.java
@@ -311,7 +311,7 @@ public class RequestProcessor extends CertProcessor {
audit(new CertRequestProcessedEvent(
auditSubjectID,
- ILogger.SUCCESS,
+ ILogger.FAILURE,
auditRequesterID,
ILogger.SIGNED_AUDIT_REJECTION,
req));