org.aselect.authspserver.authsp.radius
Class RADIUSCHAPProtocolHandler
java.lang.Object
org.aselect.authspserver.authsp.radius.AbstractRADIUSProtocolHandler
org.aselect.authspserver.authsp.radius.RADIUSCHAPProtocolHandler
- All Implemented Interfaces:
- IRADIUSProtocolHandler
public class RADIUSCHAPProtocolHandler
- extends AbstractRADIUSProtocolHandler
The Radius Protocol Handler which handles the Radius CHAP requests.
Description:
This Radius Protocol handler handles Authentication requests using Radius CHAP
Concurrency issues:
None
- Author:
- Alfa & Ariss
Method Summary |
java.lang.String |
authenticate(java.lang.String sPassword)
. |
void |
composeRequest(java.lang.String sPassword,
java.net.DatagramPacket oRADIUSPacket)
This methods composes a RADIUS access-request packet
and sends it to the RADIUS Server. |
void |
handleResponse(java.net.DatagramPacket oRADIUSPacket)
This methods handles the response comming from the
Radius Server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RADIUSCHAPProtocolHandler
public RADIUSCHAPProtocolHandler()
authenticate
public java.lang.String authenticate(java.lang.String sPassword)
- .
- Specified by:
authenticate
in interface IRADIUSProtocolHandler
- Specified by:
authenticate
in class AbstractRADIUSProtocolHandler
- Returns:
- Result Code
- See Also:
IRADIUSProtocolHandler.authenticate(java.lang.String)
composeRequest
public void composeRequest(java.lang.String sPassword,
java.net.DatagramPacket oRADIUSPacket)
throws java.lang.Exception
- This methods composes a RADIUS
access-request
packet
and sends it to the RADIUS Server.
- Parameters:
sPassword
- oRADIUSPacket
-
- Throws:
java.lang.Exception
handleResponse
public void handleResponse(java.net.DatagramPacket oRADIUSPacket)
- This methods handles the response comming from the
Radius Server.
- Parameters:
oRADIUSPacket
-
Copyright © 2008 SURFnet BV. All Rights Reserved.