AXL RADIUS Server API V3

com.theorem.radserver3.module.leap
Class Leap

Object
  extended byLeap

public class Leap
extends Object

LEAP implementation.


Field Summary
static byte LEAPVersion
          LEAP protocol version - 1.
static int SEND_SUCCESS
          State - notification of success to end program - 7.
 
Constructor Summary
Leap()
          Constructor for the LEAP client.
 
Method Summary
 boolean process(AuthInfo auth)
          Authenticate using the LEAP protocol.
 void setIdentityRequestMessage(String identityMessage)
          Set the Identity request message.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEAPVersion

public static final byte LEAPVersion
LEAP protocol version - 1.

See Also:
Constant Field Values

SEND_SUCCESS

public static final int SEND_SUCCESS
State - notification of success to end program - 7.

See Also:
Constant Field Values
Constructor Detail

Leap

public Leap()
     throws RADIUSException
Constructor for the LEAP client.

Throws:
RADIUSException - if the DES encoding algorithm has problems.
Method Detail

process

public boolean process(AuthInfo auth)
                throws EAPException,
                       AccessRejectException
Authenticate using the LEAP protocol.

Parameters:
auth - AuthInfo object.
Returns:
True if the authentication completed succesfully, false if we're still operating.
Throws:
EAPException - for a number of EAP problems.
AccessRejectException - if the protocol is incorrect.

setIdentityRequestMessage

public void setIdentityRequestMessage(String identityMessage)
Set the Identity request message. An optional parameter.

If a packet with a code of IDENTITY appear without a name you may send this text with the name request. Normally a system will send the Identity with the IDENTITY packet. If they are known to cause this extra work this value should be set.

Parameters:
identityMessage - Message to send to the client to request their identity. For example this could be "What's your name? ".

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.