AXL RADIUS Server API V3

com.theorem.radserver3.module.leap
Class LEAPPacket

Object
  extended byEAPPacket
      extended byLEAPPacket

public class LEAPPacket
extends EAPPacket

LEAP Packet class to handle LEAP athentication.


Field Summary
 
Fields inherited from class EAPPacket
CODE_FAILURE, CODE_REQUEST, CODE_RESPONSE, CODE_SUCCESS, MAX_ATTRIBUTE_LENGTH, MINPACKET, TYPE_AKA, TYPE_EXPANDED, TYPE_EXPERIMENTAL_TYPE, TYPE_GTC, TYPE_IDENTITY, TYPE_INTERNATIONALIZATION, TYPE_LEAP, TYPE_MD5, TYPE_NAK, TYPE_NOTIFICATION, TYPE_OTP, TYPE_PEAP, TYPE_SIM, TYPE_TLS, TYPE_TTLS, TYPE_UNDEFINED
 
Constructor Summary
LEAPPacket()
          Default constructor.
LEAPPacket(AttributeList attributeList)
          Constructor to extract a LEAP packet from EAP-Messages in an AttributeList.
LEAPPacket(int packetId, int code, byte[] data, byte[] identity)
          Constructor to set payload data for the LEAP packet - client side.
 
Method Summary
 byte[] getLEAPData()
          Get the LEAP payload data.
 void setLEAPData(int packetId, int code, byte[] data, byte[] identity)
          Set up the LEAP data, server side.
 
Methods inherited from class EAPPacket
createChallenge16, createChallenge8, createExpandedNAK, createFailure, createGTCRequest, createGTCResponse, createIdentityRequest, createIdentityResponse, createMD5Request, createMD5Response, createNAKResponse, createNotificationRequest, createNotificationResponse, createOTPRequest, createOTPResponse, createPacketIdentifier, createStart, createSuccess, getCode, getCodeName, getData, getEAPPacketData, getIdentity, getIdentityBytes, getLength, getPacketIdentifier, getType, getTypeName, getTypeName, getVendorId, getVendorType, isEAPProtocol, isEAPStart, isEAPTLS, isFailure, isIdentity, isNAK, isRequest, isResponse, isSuccess, setCode, setData, setData, setFailure, setPacketIdentifier, setRequest, setResponse, setSuccess, toAttributeList, toServerAttributeList, toString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LEAPPacket

public LEAPPacket()
Default constructor.


LEAPPacket

public LEAPPacket(AttributeList attributeList)
           throws EAPException
Constructor to extract a LEAP packet from EAP-Messages in an AttributeList.

Parameters:
attributeList - Attribute list.containing EAP-Messages.
Throws:
EAPException - If there's a problem extracting the EAP-Message data.

LEAPPacket

public LEAPPacket(int packetId,
                  int code,
                  byte[] data,
                  byte[] identity)
Constructor to set payload data for the LEAP packet - client side.

Parameters:
packetId - Packet identifier
code - EAP code type.
data - Payload data.
identity - Identity.
Method Detail

getLEAPData

public byte[] getLEAPData()
                   throws EAPException
Get the LEAP payload data. This does not include any EAP header information.

Returns:
LEAP Payload data.
Throws:
EAPException - if there is insufficient data.

setLEAPData

public void setLEAPData(int packetId,
                        int code,
                        byte[] data,
                        byte[] identity)
Set up the LEAP data, server side.


AXL RADIUS Server API V3

Submit a bug report or feature request

Copyright 1998-2008 AXL Software. PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.