net.jradius.client.auth
Class EAPMSCHAPv2Authenticator

java.lang.Object
  extended by net.jradius.client.auth.RadiusAuthenticator
      extended by net.jradius.client.auth.EAPAuthenticator
          extended by net.jradius.client.auth.EAPMSCHAPv2Authenticator

public class EAPMSCHAPv2Authenticator
extends EAPAuthenticator

EAP-MSCHAPv2 Authentication.

Author:
David Bird

Field Summary
protected static byte EAP_MSCHAPV2_ACK
           
protected static byte EAP_MSCHAPV2_CHALLENGE
           
protected static byte EAP_MSCHAPV2_FAILURE
           
protected static byte EAP_MSCHAPV2_RESPONSE
           
protected static byte EAP_MSCHAPV2_SUCCESS
           
static String NAME
           
 
Fields inherited from class net.jradius.client.auth.EAPAuthenticator
EAP_AKA, EAP_CISCO_MSCHAPV2, EAP_FAILURE, EAP_GTC, EAP_HEADERLEN, EAP_IDENTITY, EAP_LEAP, EAP_MD5, EAP_MSCHAPV2, EAP_NAK, EAP_NOTIFICATION, EAP_OTP, EAP_PEAP, EAP_REQUEST, EAP_RESPONSE, EAP_SIM, EAP_SUCCESS, EAP_TLS, EAP_TLV, EAP_TTLS, peap, state, STATE_AUTHENTICATED, STATE_CHALLENGE, STATE_FAILURE, STATE_REJECTED, STATE_SUCCESS
 
Fields inherited from class net.jradius.client.auth.RadiusAuthenticator
classAttribute, client, password, stateAttribute, username
 
Constructor Summary
EAPMSCHAPv2Authenticator()
           
EAPMSCHAPv2Authenticator(boolean peap)
           
 
Method Summary
 byte[] doEAPType(byte id, byte[] data)
           
 String getAuthName()
           
 
Methods inherited from class net.jradius.client.auth.EAPAuthenticator
doEAP, doEAPType, eapFailure, eapRequest, eapResponse, eapSuccess, getEAPType, getState, isStartWithIdentity, negotiateEAPType, processChallenge, processRequest, setEAPType, setStartWithIdentity, setState, suedoEAPType, tlvSuccess
 
Methods inherited from class net.jradius.client.auth.RadiusAuthenticator
getClassAttribute, getClient, getPassword, getStateAttribute, getUsername, setClient, setPassword, setupRequest, setUsername
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values

EAP_MSCHAPV2_ACK

protected static final byte EAP_MSCHAPV2_ACK
See Also:
Constant Field Values

EAP_MSCHAPV2_CHALLENGE

protected static final byte EAP_MSCHAPV2_CHALLENGE
See Also:
Constant Field Values

EAP_MSCHAPV2_RESPONSE

protected static final byte EAP_MSCHAPV2_RESPONSE
See Also:
Constant Field Values

EAP_MSCHAPV2_SUCCESS

protected static final byte EAP_MSCHAPV2_SUCCESS
See Also:
Constant Field Values

EAP_MSCHAPV2_FAILURE

protected static final byte EAP_MSCHAPV2_FAILURE
See Also:
Constant Field Values
Constructor Detail

EAPMSCHAPv2Authenticator

public EAPMSCHAPv2Authenticator()

EAPMSCHAPv2Authenticator

public EAPMSCHAPv2Authenticator(boolean peap)
Method Detail

getAuthName

public String getAuthName()
Specified by:
getAuthName in class RadiusAuthenticator
Returns:
Returns the name(s) of the protocol(s) provided.
See Also:
net.sf.jradius.client.auth.RadiusAuthenticator#getAuthName()

doEAPType

public byte[] doEAPType(byte id,
                        byte[] data)
Specified by:
doEAPType in class EAPAuthenticator
Parameters:
id - The EAP ID
data - The EAP Data
Returns:
Returns the EAP-Type specific EAP-Message


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.