diff options
| author | Endi S. Dewata <edewata@redhat.com> | 2017-04-12 21:45:12 +0200 |
|---|---|---|
| committer | Endi S. Dewata <edewata@redhat.com> | 2017-04-24 20:59:30 +0200 |
| commit | 692b2d776397b8fd2e4dfbab3a5d2ac407c440de (patch) | |
| tree | 30c80a08ea33accd88c00f7221f7495d070ea00e /base/common/src/com | |
| parent | 3d9ef95a913af023958b79ef383853cf958757e0 (diff) | |
| download | pki-692b2d776397b8fd2e4dfbab3a5d2ac407c440de.tar.gz pki-692b2d776397b8fd2e4dfbab3a5d2ac407c440de.tar.xz pki-692b2d776397b8fd2e4dfbab3a5d2ac407c440de.zip | |
Added CertRequestProcessedEvent.
A new CertRequestProcessedEvent class of has been added to
encapsulate the CERT_REQUEST_PROCESSED events.
https://pagure.io/dogtagpki/issue/2636
Change-Id: Ia79e6ae13d09a3ec6509c60435fc24d5a2fee38f
Diffstat (limited to 'base/common/src/com')
| -rw-r--r-- | base/common/src/com/netscape/certsrv/logging/event/CertRequestProcessedEvent.java | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/logging/event/CertRequestProcessedEvent.java b/base/common/src/com/netscape/certsrv/logging/event/CertRequestProcessedEvent.java new file mode 100644 index 000000000..1703f65ff --- /dev/null +++ b/base/common/src/com/netscape/certsrv/logging/event/CertRequestProcessedEvent.java @@ -0,0 +1,43 @@ +// --- BEGIN COPYRIGHT BLOCK --- +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; version 2 of the License. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +// +// (C) 2017 Red Hat, Inc. +// All rights reserved. +// --- END COPYRIGHT BLOCK --- +package com.netscape.certsrv.logging.event; + +import com.netscape.certsrv.logging.AuditEvent; + +public class CertRequestProcessedEvent extends AuditEvent { + + private static final long serialVersionUID = 1L; + + public CertRequestProcessedEvent( + String subjectID, + String outcome, + String requesterID, + String infoName, + String infoValue) { + + super(CERT_REQUEST_PROCESSED); + + setParameters(new Object[] { + subjectID, + outcome, + requesterID, + infoName, + infoValue + }); + } +} |
