net.jradius.client.auth
Class EAPTTLSAuthenticator

java.lang.Object
  extended by net.jradius.client.auth.RadiusAuthenticator
      extended by net.jradius.client.auth.EAPAuthenticator
          extended by net.jradius.client.auth.EAPTLSAuthenticator
              extended by net.jradius.client.auth.EAPTTLSAuthenticator
All Implemented Interfaces:
net.jradius.client.auth.TunnelAuthenticator

public class EAPTTLSAuthenticator
extends EAPTLSAuthenticator
implements net.jradius.client.auth.TunnelAuthenticator

EAP-TTLS Authentication.

Author:
David Bird

Field Summary
static java.lang.String NAME
           
 
Fields inherited from class net.jradius.client.auth.EAPTLSAuthenticator
eapFragmentedOffset, eapFragmentedReply, Finished, Handshaking, None, TLS_HAS_LENGTH, TLS_MORE_FRAGMENTS, 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
EAPTTLSAuthenticator()
           
 
Method Summary
protected  void doTunnelAuthentication(byte id, byte[] in)
           
 java.lang.String getAuthName()
           
 java.lang.String getInnerProtocol()
           
protected  void init()
          Initializs the SSL layer.
 void setInnerProtocol(java.lang.String innerProtocol)
           
 void setTunneledAttributes(net.jradius.packet.attribute.AttributeList tunneledAttributes)
           
 void setupRequest(net.jradius.client.RadiusClient c, net.jradius.packet.RadiusPacket p)
           
 
Methods inherited from class net.jradius.client.auth.EAPTLSAuthenticator
doEAPType, getAppBuffer, getCaFile, getCaFileType, getCaPassword, getKeyFile, getKeyFileType, getKeyPassword, getPacketInputBuffer, getPacketOutputBuffer, getTrustAll, nextFragment, putAppBuffer, putPacketBuffer, setCaFile, setCaFileType, setCaPassword, setKeyFile, setKeyFileType, setKeyPassword, setTrustAll, tlsHandshake, tlsResponse, updatePacketBuffer
 
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

EAPTTLSAuthenticator

public EAPTTLSAuthenticator()
Method Detail

init

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

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

getAuthName

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

setTunneledAttributes

public void setTunneledAttributes(net.jradius.packet.attribute.AttributeList tunneledAttributes)
Specified by:
setTunneledAttributes in interface net.jradius.client.auth.TunnelAuthenticator
Parameters:
tunneledAttributes - The tunneledAttributes to set.

setupRequest

public void setupRequest(net.jradius.client.RadiusClient c,
                         net.jradius.packet.RadiusPacket p)
                  throws net.jradius.exception.RadiusException
Overrides:
setupRequest in class EAPTLSAuthenticator
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 EAPTLSAuthenticator
Throws:
net.jradius.exception.RadiusException
javax.net.ssl.SSLException

getInnerProtocol

public java.lang.String getInnerProtocol()

setInnerProtocol

public void setInnerProtocol(java.lang.String innerProtocol)


Copyright © 2008 JRadius Project, All Rights Reserved.