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