AXL Software®

com.theorem.radius3.eap
Class EAPMD5Client

Object
  extended byEAPClient
      extended byEAPMD5Client

public final class EAPMD5Client
extends EAPClient

Class to handle EAP MD5 authentication.


Field Summary
static int NO_STATE
          State - initial state, no state assigned - 0.
 
Constructor Summary
EAPMD5Client(RADIUSClient radClient, AttributeList commonList)
          EAP MD5 client constructor.
 
Method Summary
 boolean authenticate(byte[] password)
          Perform the EAP MD5.
 
Methods inherited from class EAPClient
getAttributes, getDebugIndicator, getEAPPacket, logToDebug, reset, send, setDebug, setDebug
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_STATE

public static final int NO_STATE
State - initial state, no state assigned - 0.

See Also:
Constant Field Values
Constructor Detail

EAPMD5Client

public EAPMD5Client(RADIUSClient radClient,
                    AttributeList commonList)
             throws EAPException
EAP MD5 client constructor. One of the nasIPAddress or the nasIdentifier should exist. It is recommended that both not be defined in the common attribute list.

Parameters:
radClient - RADIUSClient.
commonList - List of common attributes (User-Name, NAS-IP-Address, NAS-Identifier and so on) including any authorization attrbitutes.
Throws:
EAPException - if the server cannot be found.
Method Detail

authenticate

public boolean authenticate(byte[] password)
                     throws EAPException
Perform the EAP MD5.

Parameters:
password - Plaint text password.
Returns:
true if the authentication succeeded.
Throws:
EAPException - if there is a severe problem during authentication.

AXL Software®

Submit a bug report or feature request

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