3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen/*
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * The contents of this file are subject to the terms of the Common Development and
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * Distribution License (the License). You may not use this file except in compliance with the
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * License.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen *
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * specific language governing permission and limitations under the License.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen *
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * When distributing Covered Software, include this CDDL Header Notice in each file and include
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * Header, with the fields enclosed by brackets [] replaced by your own identifying
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * information: "Portions copyright [year] [name of copyright owner]".
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen *
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * Copyright 2015 ForgeRock AS.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen */
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenpackage org.forgerock.openam.radius.server.events;
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenimport org.forgerock.openam.radius.server.RadiusRequest;
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenimport org.forgerock.openam.radius.server.RadiusRequestContext;
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenimport org.forgerock.openam.radius.server.RadiusResponse;
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenimport org.forgerock.openam.radius.server.config.RadiusServerConstants;
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenimport com.sun.identity.shared.debug.Debug;
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen/**
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * Event submitted to the event bus when a radius request is accepted and an ACCESS-REJECT message has been returned to
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * the client.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen */
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowenpublic class AuthRequestRejectedEvent extends AcceptedRadiusEvent {
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen private static final Debug LOG = Debug.getInstance(RadiusServerConstants.RADIUS_SERVER_LOGGER);
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen /**
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen * Constructor.
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen *
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen * @param request the request associated with the event
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen * @param response the response to the request (if available), null if not.
cb241c1aa2096e51864b45398cc15850b0ce4d8cjamiebowen * @param context the context in which the request was received.
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen */
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen public AuthRequestRejectedEvent(RadiusRequest request, RadiusResponse response, RadiusRequestContext context) {
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen super(request, response, context);
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen LOG.message("Constructed AuthRequestRejectedEvent.AuthRequestRejectedEvent()");
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen }
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen
3e7992560027364f56fb4fb0ef645623bd020c3bjamiebowen}