|
AXL Software | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectEAPClient
Class to handle EAP information for a client.
| Constructor Summary | |
EAPClient(RADIUSClient rc,
AttributeList commonList)
EAP client constructor. |
|
| Method Summary | |
AttributeList |
getAttributes()
Get the server response attributes. |
boolean |
getDebugIndicator()
Get the debugging indicator value. |
EAPPacket |
getEAPPacket()
Get the EAP message packet in the response from the server. |
void |
logToDebug(String msg)
Log a message to the debug file or stdout if debugging hasn't been set up. |
void |
reset()
Reset the client for a new EAP request. |
int |
send(AttributeList requestList)
Perform an authentication with the given attributes. |
boolean |
setDebug(boolean debug)
Set debugging on or off. |
void |
setDebug(boolean debug,
String fileName)
Set debugging on or off. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EAPClient(RADIUSClient rc,
AttributeList commonList)
throws EAPException
rc - RADIUSClient.commonList - List of common attributes (User-Name, NAS-IP-Address, NAS-Identifier
and so on).
EAPException - if the server cannot be found.| Method Detail |
public final AttributeList getAttributes()
public final boolean getDebugIndicator()
public final EAPPacket getEAPPacket()
throws EAPException
EAPException - if there are no response attributes.public final void logToDebug(String msg)
msg - Message to write.setDebug()
public final void reset()
throws EAPException
EAPException - if the client cannot be started or reset.
public final int send(AttributeList requestList)
throws EAPException
requestList - AttributeList containing EAP-Message and Message-Authenticator
attributes.
EAPException - if there's a problem.public final boolean setDebug(boolean debug)
debug - Use true to enable debugging, false to disable debugging.
PacketType.Access_BadPacket
public final void setDebug(boolean debug,
String fileName)
throws IOException
debug - Use true to enable debugging, false to disable debugging.fileName - Debugging information will be written to this file. If the file name is null
the standard output is used.
IOException - if there's a problem opening the debugging output.logToDebug()
|
AXL Software | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||