|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectPacketInfo
NASInfo
Class to pass NAS (RADIUS Client) information to a NASCallBack.
The NASCallBack is used to dynamically accept or reject unknown clients.
| Field Summary |
| Fields inherited from class PacketInfo |
AUTH_LENGTH, AUTH_STATE_OBJECT |
| Method Summary | |
void |
addNAS(NAS nas)
Add a NAS entry to the RADIUS Server tables.. |
NAS[] |
getNASList()
Get the current list of NAS's. |
boolean |
isInNetwork(InetAddress nas,
InetAddress mask)
Filter based on net work mask. |
void |
removeNAS(NAS nas)
Remove a NAS entry from the RADIUS server tables. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public void addNAS(NAS nas)
throws RADIUSServerException
nas - NAS class with information for this NAS
RADIUSServerException - if there's a problem creating the NASNAS,
removeNAS(com.theorem.radserver3.NAS)public NAS[] getNASList()
public boolean isInNetwork(InetAddress nas,
InetAddress mask)
nas - NAS (source) address of the packet.mask - Network mask for comparison.
public void removeNAS(NAS nas)
throws RADIUSServerException
nas - The NAS to remove.
RADIUSServerException - if SNMP isn't set up.NAS,
addNAS(com.theorem.radserver3.NAS)
|
AXL RADIUS Server API V3 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||