|
Core API 6.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is intended to be implemented by a system integrator to define RADIUS attributes to be sent to a RADIUS server when various types of requests are made, and to define which attributes should be retrieved from a RADIUS authorization response for update to the plug-in event.
| Method Summary | |
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. |
| Method Detail |
public 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.
public 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.
|
Core API 6.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||