AXL RADIUS Server API V3

Serialized Form


Package com.theorem.radserver3.login

Class AccessAccept extends Attributes implements Serializable

Class AccessBadPacket extends Attributes implements Serializable

Serialized Fields

errorMsg

String errorMsg
Error message as a string.

 

errorNumber

int errorNumber
Error as a number. The value can be found in RADIUSClient.

 

Class AccessChallenge extends Attributes implements Serializable

Class AccessReject extends Attributes implements Serializable

Class Attributes extends Object implements Serializable

Serialized Fields

ready

boolean ready
Flag indicating that this callback is ready. Depending on the particular callback either it has data or it wants data.

 

packetType

int packetType
Response from server - packet type recieved..

 

responseList

AttributeList responseList
Response attribute list from RADIUS client.

 

requestList

AttributeList requestList
Request attributes for the RADIUS client.

 

Class ClientException extends Attributes implements Serializable

Serialized Fields

exception

Exception exception
The exception thrown.

 

retry

boolean retry
Indicator that the packet should be sent again (send a retry).

 

Class RADIUSConfirmationCallback extends ConfirmationCallback implements Serializable

Serialized Fields

ready

boolean ready
Flag indicating that this callback is ready. Depending on the particular callback either it has data or it wants data.

 

Class RADIUSLanguageCallback extends LanguageCallback implements Serializable

Serialized Fields

ready

boolean ready
Flag indicating that this callback is ready. Depending on the particular callback either it has data or it wants data.

 

Class RADIUSNameCallback extends NameCallback implements Serializable

Serialized Fields

ready

boolean ready
Flag indicating that this callback is ready. Depending on the particular callback either it has data or it wants data.

 

Class RADIUSPasswordCallback extends PasswordCallback implements Serializable

Serialized Fields

ready

boolean ready
Flag indicating that this callback is ready. Depending on the particular callback either it has data or it wants data.

 

Class RADIUSPrincipal extends Object implements Serializable

Serialized Fields

name

String name
Name of the entity to login.

 

Class RADIUSTextInputCallback extends TextInputCallback implements Serializable

Serialized Fields

attributeType

int attributeType
Attribute type containing the returned text.

 

pwdEncode

boolean pwdEncode
Flag indicating that the text should be encoded using the standard password encoding.

 

ready

boolean ready
Flag indicating that this callback is ready. Depending on the particular callback either it has data or it wants data.

 

prompt

String prompt
Prompt from a RADIUS Reply-Message attribute.

 

Class RADIUSTextOutputCallback extends TextOutputCallback implements Serializable

Serialized Fields

ready

boolean ready
Flag indicating that this callback is ready. Depending on the particular callback either it has data or it wants data.

 

Class SetAccessRequestAttributes extends Attributes implements Serializable


Package com.theorem.radserver3.radutil

Class RadRand extends SecureRandom implements Serializable


Class AccessDropException extends Exception implements Serializable

Serialized Fields

msg

String msg
msg Message to report.


Class AccessRejectException extends Exception implements Serializable

Serialized Fields

rList

AttributeList rList
rList Array of attributes to return.

msg

String msg
msg Message to report.


Class Attribute extends A implements Serializable

Serialized Fields

tunnelTag

int tunnelTag
Tunnel ling tag data. Set to INVALID_TAG when unused.

 

tag

int tag
Attribute tag type - used by Attribute list for speed. This can be either an 8 bit or 16 bit tag.

 

enableLongTag

boolean enableLongTag
Long tag support. If true then the attribute will be generated with long tags.

 

length

int length
Attribute length including tag and length byte. For tunnel attributes this includes the tunnel tag byte.

 

value

byte[] value
Attribute value (including tunnel tag, if any).

 


Class AttributeList extends Object implements Serializable

Serialized Fields

list

Attribute[] list
Array of attributes.

 

active

int active
Number of active attributes in the list.

 

longTags

boolean longTags
Set to true if the tags are long. This is determined only when the attributes are loaded from raw data.

 


Class AttributeName extends Object implements Serializable


Class CircularList extends ArrayList implements Serializable

Serialized Fields

posn

int posn
Current position in the list.

 


Class ClientReceiveException extends IOException implements Serializable


Class ClientSendException extends IOException implements Serializable


Class EAPException extends Exception implements Serializable


Class RADIUSClient extends Object implements Serializable

Serialized Fields

desErrorString

String desErrorString
ERROR_DES string.

 

radiusPort

int radiusPort
Port number for radius server.

 

radiusRemote

InetAddress radiusRemote
Remote system address.

 

radiusSocket

DatagramSocket radiusSocket
Socket for radius client.

 

radiusRecvBuf

byte[] radiusRecvBuf
Received Packet buffer data.

 

radiusRecvBufLen

int radiusRecvBufLen
Received Packet buffer data length.

 

radiusAuthenticator

byte[] radiusAuthenticator
Authenticator block for Access_Request.

 

radiusRequestId

int radiusRequestId
Request ID starting number.

 

radiusRequestPacket

byte[] radiusRequestPacket
The last RADIUS request packet. This is for retries and can be used to extract request attributes.

 

radiusRequestPacketType

int radiusRequestPacketType
Last RADIUS request packet type. This is for retries.

 

radiusUserName

String radiusUserName
User-Name name value.

 

radiusAttrList

AttributeList radiusAttrList
List of request or response attributes.

 

radiusSecretBytes

byte[] radiusSecretBytes
Radius secret converted to bytes.

 

dpSend

DatagramSocket dpSend
Datagram socket for the client.

 

maxPacketSize

int maxPacketSize
Maximum packet size.

 

timeout

int timeout
Socket timeout.

 

bindPort

int bindPort
Socket port used by bind().

 

onlyPort

boolean onlyPort
Socket port cannot be changed if true.

 

bindAddr

InetAddress bindAddr
Address used by bind().

 

debug

boolean debug
If true debugging information is displayed.

 

debugOut

BufferedWriter debugOut
Debuging output writes through this.

 

packetError

int packetError
Access_BadPacket error value.

 

duplicate

HashMap duplicate
Duplicate packet table of port / msgid.

 

duplicateCleanTime

long duplicateCleanTime
Time to next clean duplicates (millis).

 

allowEmpty

boolean allowEmpty
Allow empty attributes to exist.

 

pktType

int pktType
Result value (packet type) from an authentication.

 

packetIdBits

BitArray packetIdBits
Packet Idenfier array.

 

msCHAPIdent

byte msCHAPIdent
MSCHAP (V1 & V2 response identity value.

 

peerChallenge

byte[] peerChallenge
MSCHAP V2 peer challenge.

 

authenticatorChallenge

byte[] authenticatorChallenge
MSCHAP V2 authenticator challenge.

 


Class RADIUSServerException extends Exception implements Serializable


Class VendorSpecific extends AttributeList implements Serializable

Serialized Fields

vendorID

byte[] vendorID
Vendor-ID value as a byte array.

 

vendorIDNumber

int vendorIDNumber
Vendor-ID as an int.

 

rawData

byte[] rawData
Raw data for the VS attribute, for older VS straight data attributes.

 

hasSubs

boolean hasSubs
True if sub-attributes were created, assume it doesn't.

 

attributeData

byte[] attributeData
Attribute data when constructor VendorSpecific(Attribute) is called.

 

longTags

boolean longTags
Long tags are in effect for this VSA - long tags are 16 bits long rather than the normal 8 bits. the default is 8 bits.

 


AXL RADIUS Server API V3

Submit a bug report or feature request

Copyright 1998-2008 AXL Software. PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.