|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jradius.client.auth.RadiusAuthenticator
net.jradius.client.auth.EAPAuthenticator
net.jradius.client.auth.EAPTLSAuthenticator
net.jradius.client.auth.EAPTTLSAuthenticator
public class EAPTTLSAuthenticator
EAP-TTLS Authentication.
Field Summary | |
---|---|
static String |
NAME
|
Fields inherited from class net.jradius.client.auth.EAPTLSAuthenticator |
---|
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, 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 | |
---|---|
EAPTTLSAuthenticator()
|
Method Summary | |
---|---|
protected boolean |
doTunnelAuthentication(byte id,
byte[] in)
|
String |
getAuthName()
|
String |
getInnerProtocol()
|
void |
init()
Initializs the SSL layer. |
protected boolean |
isCertificateRequired()
|
void |
setInnerProtocol(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 |
---|
createKey, createKey, createKey, doEAPType, getAppBuffer, getCaFile, getCaFileType, getCaPassword, getKeyFile, getKeyFileType, getKeyPassword, getTrustAll, nextFragment, putAppBuffer, putAppBuffer, setCaFile, setCaFileType, setCaPassword, setKeyFile, setKeyFileType, setKeyPassword, setServerMode, setTrustAll, tlsResponse |
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, setUsername |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAME
Constructor Detail |
---|
public EAPTTLSAuthenticator()
Method Detail |
---|
public void init() throws net.jradius.exception.RadiusException
EAPTLSAuthenticator
init
in class EAPTLSAuthenticator
net.jradius.exception.RadiusException
protected boolean isCertificateRequired()
isCertificateRequired
in class EAPTLSAuthenticator
public String getAuthName()
getAuthName
in class EAPTLSAuthenticator
RadiusAuthenticator.getAuthName()
public void setTunneledAttributes(net.jradius.packet.attribute.AttributeList tunneledAttributes)
setTunneledAttributes
in interface net.jradius.client.auth.TunnelAuthenticator
tunneledAttributes
- The tunneledAttributes to set.public void setupRequest(net.jradius.client.RadiusClient c, net.jradius.packet.RadiusPacket p) throws net.jradius.exception.RadiusException
setupRequest
in class EAPTLSAuthenticator
net.jradius.exception.RadiusException
RadiusAuthenticator.setupRequest(net.jradius.client.RadiusClient, net.jradius.packet.RadiusPacket)
protected boolean doTunnelAuthentication(byte id, byte[] in) throws net.jradius.exception.RadiusException, SSLException
doTunnelAuthentication
in class EAPTLSAuthenticator
net.jradius.exception.RadiusException
SSLException
public String getInnerProtocol()
public void setInnerProtocol(String innerProtocol)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |