From 993a55fb4c883b3ca7ea0e64e24f4501909a571c Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 21 Apr 2017 05:37:05 +0200 Subject: 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 --- .../logging/event/ConfigSignedAuditEvent.java | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 base/common/src/com/netscape/certsrv/logging/event/ConfigSignedAuditEvent.java (limited to 'base/common/src') 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 + }); + } +} -- cgit