net.sourceforge.jradiusclient.packets
Class ChapAccessRequest
java.lang.Object
|
+--net.sourceforge.jradiusclient.RadiusPacket
|
+--net.sourceforge.jradiusclient.packets.ChapAccessRequest
- public class ChapAccessRequest
- extends RadiusPacket
Released under the LGPL
- Version:
- $Revision: 1.4 $
- Author:
- Robert J. Loihl
Fields inherited from class net.sourceforge.jradiusclient.RadiusPacket |
ACCESS_ACCEPT, ACCESS_CHALLENGE, ACCESS_REJECT, ACCESS_REQUEST, ACCOUNTING_MESSAGE, ACCOUNTING_REQUEST, ACCOUNTING_RESPONSE, ACCOUNTING_STATUS, EMPTYSTRING, MAX_PACKET_LENGTH, MIN_PACKET_LENGTH, PASSWORD_ACCEPT, PASSWORD_REJECT, PASSWORD_REQUEST, RADIUS_HEADER_LENGTH, RESERVED, STATUS_CLIENT, STATUS_SERVER |
Constructor Summary |
ChapAccessRequest(java.lang.String userName,
byte[] plaintextPassword)
|
ChapAccessRequest(java.lang.String userName,
byte[] chapEncryptedPassword,
byte chapIndentifier,
byte[] chapChallenge)
|
ChapAccessRequest(java.lang.String userName,
byte[] plaintextPassword,
int challengeSize)
|
ChapAccessRequest(java.lang.String userName,
java.lang.String plaintextPassword)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChapAccessRequest
public ChapAccessRequest(java.lang.String userName,
byte[] chapEncryptedPassword,
byte chapIndentifier,
byte[] chapChallenge)
throws InvalidParameterException
- Parameters:
userName
- chapEncryptedPassword
- chapIndentifier
- chapChallenge
-
- Throws:
InvalidParameterException
ChapAccessRequest
public ChapAccessRequest(java.lang.String userName,
java.lang.String plaintextPassword)
throws InvalidParameterException
- Parameters:
userName
- plaintextPassword
-
- Throws:
InvalidParameterException
ChapAccessRequest
public ChapAccessRequest(java.lang.String userName,
byte[] plaintextPassword)
throws InvalidParameterException
- Parameters:
userName
- plaintextPassword
-
- Throws:
InvalidParameterException
ChapAccessRequest
public ChapAccessRequest(java.lang.String userName,
byte[] plaintextPassword,
int challengeSize)
throws InvalidParameterException
- Parameters:
userName
- plaintextPassword
-
- Throws:
InvalidParameterException
validateAttribute
public void validateAttribute(RadiusAttribute radiusAttribute)
throws InvalidParameterException
- This method implements a callback from the super class RadiusPacket to validate input
- Overrides:
validateAttribute
in class RadiusPacket
- Parameters:
radiusAttribute
- the attribute to validate
- Throws:
InvalidParameterException
- if the RadiusAttribute does not pass validation