62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * The contents of this file are subject to the terms of the Common Development and
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * Distribution License (the License). You may not use this file except in compliance with the
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * specific language governing permission and limitations under the License.
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * When distributing Covered Software, include this CDDL Header Notice in each file and include
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * Header, with the fields enclosed by brackets [] replaced by your own identifying
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * information: "Portions copyright [year] [name of copyright owner]".
dbe875a112523740569be457b9c6f4757fa3bb20Phill Cunnington * Copyright 2015-2016 ForgeRock AS.
62639ee1329be2d687701dfa01fc006314440bf7Jaco Joosteimport static com.sun.identity.console.audit.AuditConsoleConstants.*;
62639ee1329be2d687701dfa01fc006314440bf7Jaco Joosteimport com.sun.identity.console.audit.model.RealmAuditConfigModel;
62639ee1329be2d687701dfa01fc006314440bf7Jaco Joosteimport com.sun.identity.console.base.model.AMConsoleException;
62639ee1329be2d687701dfa01fc006314440bf7Jaco Joosteimport com.sun.identity.console.base.model.AMModel;
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * Realm Audit configuration UI view bean.
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * @since 13.0.0
62639ee1329be2d687701dfa01fc006314440bf7Jaco Joostepublic class RealmEventHandlerEditViewBean extends AbstractEventHandlerEditViewBean {
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste private static final String DEFAULT_DISPLAY_URL = "/console/audit/RealmEventHandlerEdit.jsp";
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste private static final String PAGE_NAME = "RealmEventHandlerEdit";
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste * Create a new {@code RealmEventHandlerEditViewBean}.
dbe875a112523740569be457b9c6f4757fa3bb20Phill Cunnington return false;
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste HttpServletRequest req = RequestManager.getRequestContext().getRequest();
62639ee1329be2d687701dfa01fc006314440bf7Jaco Jooste return new RealmAuditConfigModel(req, getPageSessionAttributes());