summaryrefslogtreecommitdiffstats
path: root/base/common/src
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2017-04-21 05:37:05 +0200
committerEndi S. Dewata <edewata@redhat.com>2017-04-25 21:44:10 +0200
commit993a55fb4c883b3ca7ea0e64e24f4501909a571c (patch)
tree074095cdbbdc1646409f9af548afd3560d65c7ff /base/common/src
parentf902b0365f2cf92f14f0a814394cd025669b3ea8 (diff)
downloadpki-993a55fb4c883b3ca7ea0e64e24f4501909a571c.tar.gz
pki-993a55fb4c883b3ca7ea0e64e24f4501909a571c.tar.xz
pki-993a55fb4c883b3ca7ea0e64e24f4501909a571c.zip
Added ConfigSignedAuditEvent.
A new SignedAuditConfigRoleEvent class of has been added to encapsulate the CONFIG_SIGNED_AUDIT events. https://pagure.io/dogtagpki/issue/2641 Change-Id: I95b897fa0bb73007a7cec009c43ade4cc860f0cd
Diffstat (limited to 'base/common/src')
-rw-r--r--base/common/src/com/netscape/certsrv/logging/event/ConfigSignedAuditEvent.java39
1 files changed, 39 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/logging/event/ConfigSignedAuditEvent.java b/base/common/src/com/netscape/certsrv/logging/event/ConfigSignedAuditEvent.java
new file mode 100644
index 000000000..32de44343
--- /dev/null
+++ b/base/common/src/com/netscape/certsrv/logging/event/ConfigSignedAuditEvent.java
@@ -0,0 +1,39 @@
+// --- 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 ConfigSignedAuditEvent extends AuditEvent {
+
+ private static final long serialVersionUID = 1L;
+
+ public ConfigSignedAuditEvent(
+ String subjectID,
+ String outcome,
+ String params) {
+
+ super(CONFIG_SIGNED_AUDIT);
+
+ setParameters(new Object[] {
+ subjectID,
+ outcome,
+ params
+ });
+ }
+}