AXL RADIUS Server API V3

com.theorem.radserver3
Class ExtendedPacketImpl

Object
  extended byExtendedPacketImpl

public abstract class ExtendedPacketImpl
extends Object

Abstract class for implementing additional packet types.

These methods are called asynchronously from the server handling packet types beyond the normal six: Access-Request, Access-Accept, Access-Reject, Access-Challenge, Accounting-Request & Accounting-Response.

It is the responsibly of the implementor to verify the packet data's authenticity and return an appropriate response if necessary. A Message-Authenticator attribute can add to the packet security.

See Also:
LogImpl, LogImplFactory, ExtendedPacketImplFactory

Constructor Summary
ExtendedPacketImpl()
           
 
Method Summary
abstract  void logs(LogImpl svrLog, LogImpl dbgLog)
          Connects the implementation to the server logs.
abstract  void packet(ExtendedInfo ext)
          Handle a non-standard packet type.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedPacketImpl

public ExtendedPacketImpl()
Method Detail

logs

public abstract void logs(LogImpl svrLog,
                          LogImpl dbgLog)
Connects the implementation to the server logs. The logging classes are made available to the implementation for reporting this and that. These classes are defined in the RADIUSServer class. This method will be called when the authentication server is started.

Parameters:
svrLog - Server log class
dbgLog - Debug log class
See Also:
RADIUSServer

packet

public abstract void packet(ExtendedInfo ext)
                     throws AccessDropException,
                            AccessRejectException
Handle a non-standard packet type.

If validating the originating NAS both NAS lists may be searched. One is ordered by IP address (useful if a NAS-IP-Address attribute is present, while the one ordered by identifier is useful if the NAS-Identifier attribute is present).

Parameters:
ext - Extended info object.
Throws:
AccessRejectException - if an Access-Reject is to be sent.
AccessDropException - if no response is to be sent. The message in the exceptions will be logged to the server log as failures.

AXL RADIUS Server API V3

Submit a bug report or feature request

Copyright 1998-2008 AXL Software. PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.