net.jradius.client.auth
Class PEAPAuthenticator

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

public class PEAPAuthenticator
extends EAPTLS2Authenticator

EAP-TTLS Authentication.

Author:
David Bird

Field Summary
static java.lang.String NAME
           
 
Fields inherited from class net.jradius.client.auth.EAPTLS2Authenticator
eapFragmentedOffset, eapFragmentedReply, TLS_APP_DATA, TLS_CLIENT_HELLO, TLS_HAS_LENGTH, TLS_MORE_FRAGMENTS, TLS_SERVER_HELLO, TLS_START
 
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
 
Fields inherited from class net.jradius.client.auth.RadiusAuthenticator
client, password, username
 
Constructor Summary
PEAPAuthenticator()
           
 
Method Summary
protected  void doTunnelAuthentication(byte id, byte[] in)
           
 java.lang.String getAuthName()
           
protected  void init()
          Initializs the SSL layer.
 void setupRequest(net.jradius.client.RadiusClient c, net.jradius.packet.RadiusPacket p)
           
 
Methods inherited from class net.jradius.client.auth.EAPTLS2Authenticator
doEAPType, getAppBuffer, getCaFile, getCaFileType, getCaPassword, getKeyFile, getKeyFileType, getKeyPassword, getTrustAll, nextFragment, putAppBuffer, setCaFile, setCaFileType, setCaPassword, setKeyFile, setKeyFileType, setKeyPassword, setTrustAll, tlsResponse
 
Methods inherited from class net.jradius.client.auth.EAPAuthenticator
doEAP, doEAPType, eapResponse, getEAPType, isStartWithIdentity, negotiateEAPType, processChallenge, processRequest, setEAPType, setStartWithIdentity, tlvSuccess
 
Methods inherited from class net.jradius.client.auth.RadiusAuthenticator
getClient, getPassword, getUsername, setClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

PEAPAuthenticator

public PEAPAuthenticator()
Method Detail

init

protected void init()
             throws net.jradius.exception.RadiusException
Description copied from class: EAPTLS2Authenticator
Initializs the SSL layer.

Overrides:
init in class EAPTLS2Authenticator
Throws:
net.jradius.exception.RadiusException

getAuthName

public java.lang.String getAuthName()
Overrides:
getAuthName in class EAPTLS2Authenticator
See Also:
RadiusAuthenticator.getAuthName()

setupRequest

public void setupRequest(net.jradius.client.RadiusClient c,
                         net.jradius.packet.RadiusPacket p)
                  throws net.jradius.exception.RadiusException
Overrides:
setupRequest in class EAPTLS2Authenticator
Throws:
net.jradius.exception.RadiusException
See Also:
RadiusAuthenticator.setupRequest(net.jradius.client.RadiusClient, net.jradius.packet.RadiusPacket)

doTunnelAuthentication

protected void doTunnelAuthentication(byte id,
                                      byte[] in)
                               throws net.jradius.exception.RadiusException,
                                      javax.net.ssl.SSLException
Overrides:
doTunnelAuthentication in class EAPTLS2Authenticator
Throws:
net.jradius.exception.RadiusException
javax.net.ssl.SSLException


Copyright © 2008 JRadius Project, All Rights Reserved.