public interface RadiusPacketHandler
Modifier and Type | Method and Description |
---|---|
boolean |
formatRequest(RadiusPacketDelegate delegate,
int action,
RadiusPluginEvent event)
Formats a RADIUS request packet by including RADIUS attribute
identifier-value pairs in the packet.
|
boolean |
handleResponse(RadiusPacketDelegate delegate,
int action,
RadiusPluginEvent event)
Retrieves attribute values from a RADIUS authorization response packet
and updates the plug-in event with these values.
|
boolean formatRequest(RadiusPacketDelegate delegate, int action, RadiusPluginEvent event) throws RadiusPacketFailedAccessException
delegate
- An instance of the RadiusPacketDelegate
interface which provides access to the RADIUS packet.action
- Encoded integer that defines the request type. See
RadiusPluginUtil.is*Request()
for
details.event
- Instance of the plug-in event that keeps track of specified
RADIUS attribute values.true
if the action matches one or more request
type that is defined in this method.RadiusPacketFailedAccessException
- Raised if the formatting is invalid.boolean handleResponse(RadiusPacketDelegate delegate, int action, RadiusPluginEvent event) throws RadiusPacketFailedAccessException
delegate
- An instance of the RadiusPacketDelegate
interface which provides access to the RADIUS packet.action
- Encoded integer that defines the authorization response type.
See RadiusPluginUtil.is*Resp()
for
details.event
- Instance of the plug-in event that keeps track of specified
attribute values and that allows updates to these attributes.true
if the action matches one or more
authorization response type that is defined in this method.RadiusPacketFailedAccessException
- Raised if the access to the RADIUS packet to obtain attribute
values fails.