org.openmdx.uses.net.sourceforge.jradiusclient.packets
Class ChapAccessRequest
java.lang.Object
org.openmdx.uses.net.sourceforge.jradiusclient.RadiusPacket
org.openmdx.uses.net.sourceforge.jradiusclient.packets.ChapAccessRequest
public class ChapAccessRequest
- extends RadiusPacket
Released under the LGPL
- Version:
- $Revision: 1.3 $
- Author:
- Robert J. Loihl
| Fields inherited from class org.openmdx.uses.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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChapAccessRequest
public ChapAccessRequest(String userName,
byte[] chapEncryptedPassword,
byte chapIndentifier,
byte[] chapChallenge)
throws InvalidParameterException
- Parameters:
userName - chapEncryptedPassword - chapIndentifier - chapChallenge -
- Throws:
InvalidParameterException
ChapAccessRequest
public ChapAccessRequest(String userName,
String plaintextPassword)
throws InvalidParameterException
- Parameters:
userName - plaintextPassword -
- Throws:
InvalidParameterException
ChapAccessRequest
public ChapAccessRequest(String userName,
byte[] plaintextPassword)
throws InvalidParameterException
- Parameters:
userName - plaintextPassword -
- Throws:
InvalidParameterException
ChapAccessRequest
public ChapAccessRequest(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
This software is published under the BSD license. Copyright © 2003-2008, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.