net.sf.jradius.client.auth
Class EAPTTLSAuthenticator
java.lang.Object
net.sf.jradius.client.auth.RadiusAuthenticator
net.sf.jradius.client.auth.EAPAuthenticator
net.sf.jradius.client.auth.EAPTLSAuthenticator
net.sf.jradius.client.auth.EAPTTLSAuthenticator
- All Implemented Interfaces:
- TunnelAuthenticator
public class EAPTTLSAuthenticator
- extends EAPTLSAuthenticator
- implements TunnelAuthenticator
EAP-TTLS Authentication.
- Author:
- David Bird
Field Summary |
static java.lang.String |
NAME
|
Fields inherited from class net.sf.jradius.client.auth.EAPAuthenticator |
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 |
Methods inherited from class net.sf.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
EAPTTLSAuthenticator
public EAPTTLSAuthenticator()
init
protected void init()
throws RadiusException
- Description copied from class:
EAPTLSAuthenticator
- Initializs the SSL layer.
- Overrides:
init
in class EAPTLSAuthenticator
- Throws:
RadiusException
getAuthName
public java.lang.String getAuthName()
- Overrides:
getAuthName
in class EAPTLSAuthenticator
- Returns:
- Returns the name(s) of the protocol(s) provided.
- See Also:
RadiusAuthenticator.getAuthName()
setTunneledAttributes
public void setTunneledAttributes(AttributeList tunneledAttributes)
- Specified by:
setTunneledAttributes
in interface TunnelAuthenticator
- Parameters:
tunneledAttributes
- The tunneledAttributes to set.
setupRequest
public void setupRequest(RadiusClient c,
RadiusPacket p)
throws RadiusException
- Overrides:
setupRequest
in class EAPTLSAuthenticator
- Parameters:
c
- The RadiusClient context being usedp
- Setup the Authenticator with packet data
- Throws:
RadiusException
- See Also:
RadiusAuthenticator.setupRequest(net.sf.jradius.client.RadiusClient, net.sf.jradius.packet.RadiusPacket)
doTunnelAuthentication
protected void doTunnelAuthentication(byte id,
byte[] in)
throws RadiusException,
javax.net.ssl.SSLException
- Overrides:
doTunnelAuthentication
in class EAPTLSAuthenticator
- Throws:
RadiusException
javax.net.ssl.SSLException
getInnerProtocol
public java.lang.String getInnerProtocol()
setInnerProtocol
public void setInnerProtocol(java.lang.String innerProtocol)
Copyright © 2006 The JRadius Project, All Rights Reserved.