Overview
Package
Class
Use
Tree
Deprecated
Index
AXL Software™
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
I
L
M
P
R
S
T
U
V
A
ARAP
- class
ARAP
.
Class to send TACACS+ controls to a server to authenticate using ARAP.
ARAP()
- Constructor for class
ARAP
Default constructor.
ASCII
- class
ASCII
.
Class to send TACACS+ controls to a server using the continuation packet exchange.
ASCII()
- Constructor for class
ASCII
Default constructor.
AVPair
- class
AVPair
.
A TACACS+ Attribute Value Pair.
AVPair(String)
- Constructor for class
AVPair
Constructor.
AVPair(String, String, String)
- Constructor for class
AVPair
Constructor.
Accounting
- class
Accounting
.
Class to send accounting packets to a server.
Accounting()
- Constructor for class
Accounting
Default constructor.
AccountingPacket
- class
AccountingPacket
.
The Accounting packet contains information in the reply packet returned from an accounting request.
AttributeList
- class
AttributeList
.
TACACS+ Attribute list.
AttributeList()
- Constructor for class
AttributeList
AuthenticationPacket
- class
AuthenticationPacket
.
Class providing the reply to an Authentication request.
AuthenticationPacket()
- Constructor for class
AuthenticationPacket
Default Constructor.
Authorization
- class
Authorization
.
Class to send an authorization packet to a server.
Authorization()
- Constructor for class
Authorization
Default constructor.
AuthorizationPacket
- class
AuthorizationPacket
.
The Authorization packet contains information in the reply packet returned from an authorization request.
acceptTACACSReply(TACACSSession, Packet)
- Method in interface
TACACSCallback
Accept a call back from the TACACSClient.
acceptTACACSReply(TACACSSession, Packet)
- Method in class
Client
Accept the reply packet from the TACACSClient.
accounting(int, TACACSSession)
- Method in class
TACACSClient
Send Accounting information.
add(String)
- Method in class
AttributeList
Add an attribute to the list.
add(AVPair)
- Method in class
AttributeList
Add an AV pair.
add(String, String, String)
- Method in class
AttributeList
Add an attribute to the list.
authentication(int, TACACSSession, byte[])
- Method in class
TACACSClient
Send Authentication information.
authenticationContinue(int, TACACSSession, int, byte[], byte[])
- Method in class
TACACSClient
Send Authentication CONTINUE information.
authorization(int, TACACSSession)
- Method in class
TACACSClient
Send Authorization information.
C
CHAP
- class
CHAP
.
/** Class to send TACACS+ controls to a server to authenticate using CHAP.
CHAP()
- Constructor for class
CHAP
Default constructor.
ChangePassword
- class
ChangePassword
.
Class to send TACACS+ controls to a server using the continuation packet exchange.
ChangePassword()
- Constructor for class
ChangePassword
Default constructor.
Client
- class
Client
.
Class to send TACACS+ controls to a server.
Client()
- Constructor for class
Client
Default constructor.
ClientReceiveException
- exception
ClientReceiveException
.
Client Exception class thrown by the TACACSClient when the reception of a packet fails.
ClientReceiveException(String)
- Constructor for class
ClientReceiveException
Constructor to pass a message.
ClientReceiveException()
- Constructor for class
ClientReceiveException
Default constructor.
ClientSendException
- exception
ClientSendException
.
Client Exception class thrown by the TACACSClient when the transmission of a packet fails.
ClientSendException(String)
- Constructor for class
ClientSendException
Constructor to pass a message.
ClientSendException()
- Constructor for class
ClientSendException
Default constructor.
clear()
- Method in class
AttributeList
Clear all attributes.
close()
- Method in class
TACACSClient
End the client.
cmp(byte[], byte[])
- Static method in class
Util
Compare two byte arrays.
cmp(byte[], int, byte[], int, int)
- Static method in class
Util
Compare two byte arrays over a region.
com.theorem.tacacs.examples.client
- package com.theorem.tacacs.examples.client
Example clients for TACACS+.
com.theorem.tacacs.examples.modserver
- package com.theorem.tacacs.examples.modserver
An example class that modifies the Cisco TACACS+ server (tac_plus) authoriization attributes.
createARAP(byte[])
- Method in class
AuthenticationPacket
Create an ARAP challenges & response.
createChap(String)
- Static method in class
AuthenticationPacket
Create Chap data field.
createMSCHAP(byte[])
- Method in class
AuthenticationPacket
Create an MS-CHAP password from a non-plain text (or plain text) password.
createSession(TACACSCallback)
- Method in class
TACACSClient
Create a session.
createSession(TACACSClient)
- Method in class
ExampleUtil
Create a new session with a standard set up.
D
DEFAULT_PORT
- Static variable in class
TACACSClient
Port number (49) for TACACS+ server - 49.
E
ExampleUtil
- class
ExampleUtil
.
Methods common to the examples.
ExampleUtil()
- Constructor for class
ExampleUtil
enableEncryption(boolean)
- Method in class
TACACSClient
Enable or disable packet encryption on a global scale.
enableEncryption(boolean)
- Method in class
TACACSSession
Enable or disable the encryption of the packet body for this session.
enableMultipleSessions(boolean)
- Method in class
TACACSClient
Enable or disable multiple sessions by this client.
equals(Object)
- Method in class
AVPair
Two AVPair's are equal if the attribute name matches.
equals(Object)
- Method in class
TACACSSession
Determine if this Session is the same as another Session.
extractAVPairs(byte[], int, int)
- Method in class
AttributeList
Read a data block from the packet.
G
get(String)
- Method in class
AttributeList
Get the first AVPair matching the given the attribute name.
getARAPChallenge()
- Method in class
AuthenticationPacket
Get the ARAP response challenge.
getAVPair()
- Method in class
AVPair
Get the full AV Pair.
getAll(String)
- Method in class
AttributeList
Get the all the AVPairs's matching the given the attribute name.
getAuthenType()
- Method in class
TACACSSession
Get the authentication type.
getAuthenicationType()
- Method in class
TACACSSession
Get the authentication type.
getAuthenticationMethod()
- Method in class
TACACSSession
Get the authentication method flags.
getAuthenticationType()
- Method in class
TACACSSession
Get the authentication type.
getData()
- Method in class
AccountingPacket
Get the accounting reply data field contents.
getData()
- Method in class
AuthenticationPacket
Get the authentication reply data field contents.
getData()
- Method in class
AuthorizationPacket
Get the authorization reply data field contents.
getFlags()
- Method in class
AuthenticationPacket
Get the flags from a reply packet.
getName()
- Method in class
AVPair
Get the attribute name.
getName()
- Method in class
TACACSSession
Get the user name.
getName()
- Method in class
ExampleUtil
Get the entity's name.
getPacketHeader()
- Method in class
AuthenticationPacket
Get the packet header.
getPassword()
- Method in class
ExampleUtil
Get the password.
getPrivLevel()
- Method in class
TACACSSession
Get the privilege level.
getResponseAttributes()
- Method in class
AuthorizationPacket
Get the response attributes.
getSecret()
- Method in class
TACACSClient
Get the NAS secret.
getSeparator()
- Method in class
AVPair
Get the attribute separator.
getServerAddress()
- Method in class
ExampleUtil
Get the server address.
getServerMessage()
- Method in class
AccountingPacket
Get the server message.
getServerMessage()
- Method in class
AuthenticationPacket
Get the server message from an Auththentication reply
getServerMessage()
- Method in class
AuthorizationPacket
Get the server message.
getServerMessage()
- Method in class
TACACSSession
Get the server message from a REPLY message.
getServerSecret()
- Method in class
ExampleUtil
Get the shared secret.
getService()
- Method in class
TACACSSession
Get the service type.
getSessionId()
- Method in class
TACACSSession
Get the session identifier.
getStatus()
- Method in class
AccountingPacket
Get the status flag.
getStatus()
- Method in class
AuthenticationPacket
Get the status flag.
getStatus()
- Method in class
AuthorizationPacket
Get the status flag.
getStatusName(int)
- Method in class
AuthenticationPacket
Get the authentication status name for the value.
getStatusName(int)
- Method in class
AuthorizationPacket
Get the name of the status value.
getUserMessage()
- Method in class
AuthenticationPacket
Get the user message from a Authentication Continue reply suitable for displaying.
getUserMessage()
- Method in class
TACACSSession
Get the user message from a CONTINUE message.
getValue()
- Method in class
AVPair
Get the attribute value.
I
isPrintableASCII(byte[], int, int)
- Static method in class
Util
Determine if a byte array is printable (eg ASCII-printable).
iterator()
- Method in class
AttributeList
Provide an iteration of the attributes.
L
logToDebug(String)
- Method in class
TACACSClient
Log a message to the debug file or stdout if debugging hasn't been set up.
M
MSCHAP
- class
MSCHAP
.
/** Class to send TACACS+ controls to a server to authenticate using MSCHAP.
MSCHAP()
- Constructor for class
MSCHAP
Default constructor.
ModAttributes
- class
ModAttributes
.
Example of a class run on the Cisco server to modify or create a 'group' attribute.
ModAttributes()
- Constructor for class
ModAttributes
main(String[])
- Static method in class
AVPair
main(String[])
- Static method in class
ARAP
Main method to run the client.
main(String[])
- Static method in class
ASCII
Main method to run the client.
main(String[])
- Static method in class
Accounting
Main method to run the client.
main(String[])
- Static method in class
Authorization
Main method to run the client.
main(String[])
- Static method in class
CHAP
Main method to run the client.
main(String[])
- Static method in class
ChangePassword
Main method to run the client.
main(String[])
- Static method in class
Client
Main method to run the client.
main(String[])
- Static method in class
MSCHAP
Main method to run the client.
main(String[])
- Static method in class
PAP
Main method to run the client.
main(String[])
- Static method in class
ModAttributes
Exit with value 0 to be ignored, 1 to offer an error, 2 for acceptance of the args.
P
PAP
- class
PAP
.
/** Class to send TACACS+ controls to a server to authenticate using PAP.
PAP()
- Constructor for class
PAP
Default constructor.
Packet
- class
Packet
.
Packet building methods.
R
readProperties(String)
- Method in class
ExampleUtil
Read properties from the file.
remove()
- Method in class
TACACSSession
Remove this session.
removeSession(TACACSSession)
- Method in class
TACACSClient
Remove a TACACSSession from the client.
reset()
- Method in class
TACACSClient
Reset the connection between transactions.
S
SOCKET_TIMEOUT
- Static variable in class
TACACSClient
Default TACACS+ timeout, value = 10000 ms.
setAuthenType(int)
- Method in class
TACACSSession
Set the authentication type.
setAuthenticationMethod(int)
- Method in class
TACACSSession
Set the authentication method flags.
setAuthenticationType(int)
- Method in class
TACACSSession
Set the authentication type.
setData(byte[])
- Method in class
AuthenticationPacket
Set the data field contents.
setDebug(boolean, String)
- Method in class
TACACSClient
Set debugging on or off.
setDebug(boolean)
- Method in class
TACACSClient
Set debugging on or off.
setName(String)
- Method in class
AVPair
Set the attribute name.
setName(String)
- Method in class
TACACSSession
Set the User Name.
setPort(String)
- Method in class
TACACSSession
Set the port name.
setPrivLevel(int)
- Method in class
TACACSSession
Set privilege level.
setRemoteAddress(String)
- Method in class
TACACSSession
Set remote address.
setRequestAttributes(AttributeList)
- Method in class
TACACSSession
Set the request attributes going to the server.
setSeparator(String)
- Method in class
AVPair
Set the attribute separator.
setService(int)
- Method in class
TACACSSession
Set the service type.
setUserMessage(byte[])
- Method in class
AuthenticationPacket
Set the user message in response to a server message.
setValue(String)
- Method in class
AVPair
Set the attribute value.
T
TAC
- class
TAC
.
Class holding the standard TACACS+ constants.
TAC()
- Constructor for class
TAC
TACACSCallback
- interface
TACACSCallback
.
Call back interface for the TACACSCient.
TACACSClient
- class
TACACSClient
.
TACACS+ Client for applications.
TACACSClient(InetAddress, int, String)
- Constructor for class
TACACSClient
Class constructor creates the TACACS+ Client.
TACACSClient(InetAddress, int, String, int)
- Constructor for class
TACACSClient
Class constructor creates the TACACS+ Client.
TACACSException
- exception
TACACSException
.
TACACS Exception class.
TACACSException(String)
- Constructor for class
TACACSException
TACACSException()
- Constructor for class
TACACSException
TACACSSession
- class
TACACSSession
.
Session class to handle a TACACS+ session.
TAC_PLUS_ACCT
- Static variable in class
TAC
Accounting Request Type - 3.
TAC_PLUS_ACCT_FLAG_MORE
- Static variable in class
TAC
Deprecated.
TAC_PLUS_ACCT_FLAG_START
- Static variable in class
TAC
Accounting START flag - 2.
TAC_PLUS_ACCT_FLAG_STOP
- Static variable in class
TAC
Accounting START flag - 4.
TAC_PLUS_ACCT_FLAG_WATCHDOG
- Static variable in class
TAC
Accounting WATCHDOG flag - 8.
TAC_PLUS_AUTHEN
- Static variable in class
TAC
Authentication Request Type - 1.
TAC_PLUS_AUTHEN_CHPASS
- Static variable in class
TAC
Authentication Change password. - 2.
TAC_PLUS_AUTHEN_LOGIN
- Static variable in class
TAC
Authentication Login. - 1.
TAC_PLUS_AUTHEN_METH_ENABLE
- Static variable in class
TAC
Authorization ENABLE is a command that authenticates in order to grant new privileges. - 4.
TAC_PLUS_AUTHEN_METH_GUEST
- Static variable in class
TAC
Authorization GUEST (is an unqualified guest authentication, such as an ARAP guest login). - 8.
TAC_PLUS_AUTHEN_METH_KRB4
- Static variable in class
TAC
Authorization Kerberos version 4 flag. - 17.
TAC_PLUS_AUTHEN_METH_KRB5
- Static variable in class
TAC
Authorization Kerberos version 5 flag. - 2.
TAC_PLUS_AUTHEN_METH_LINE
- Static variable in class
TAC
Authorization LINE (refers to a fixed password associated with the line used to gain access flag). - 3.
TAC_PLUS_AUTHEN_METH_LOCAL
- Static variable in class
TAC
Authorization LOCAL is a NAS local user database. - 5.
TAC_PLUS_AUTHEN_METH_NONE
- Static variable in class
TAC
Authorization NONE flag. - 1.
TAC_PLUS_AUTHEN_METH_NOT_SET
- Static variable in class
TAC
Authorization Not Set flag. - 0.
TAC_PLUS_AUTHEN_METH_RADIUS
- Static variable in class
TAC
Authorization RADIUS authentication - 16.
TAC_PLUS_AUTHEN_METH_RCMD
- Static variable in class
TAC
Authorization RCMD (refers to authentication provided via the R-command protocols from Berkeley Unix) flag. - 32.
TAC_PLUS_AUTHEN_METH_TACACSPLUS
- Static variable in class
TAC
Authorization flag.TACACSPLUS authentication method - 6.
TAC_PLUS_AUTHEN_SENDAUTH
- Static variable in class
TAC
Authentication Send authentication. - 4.
TAC_PLUS_AUTHEN_SENDPASS
- Static variable in class
TAC
Deprecated.
TAC_PLUS_AUTHEN_STATUS_ERROR
- Static variable in class
TAC
Status Error. - 7.
TAC_PLUS_AUTHEN_STATUS_FAIL
- Static variable in class
TAC
Status Failed. - 2.
TAC_PLUS_AUTHEN_STATUS_FOLLOW
- Static variable in class
TAC
Status - use another daemon for authentication. - 33.
TAC_PLUS_AUTHEN_STATUS_GETDATA
- Static variable in class
TAC
Status Requires more informat . - 3.
TAC_PLUS_AUTHEN_STATUS_GETPASS
- Static variable in class
TAC
Status Get the password. - 5.
TAC_PLUS_AUTHEN_STATUS_GETUSER
- Static variable in class
TAC
Status Send the user name. - 4.
TAC_PLUS_AUTHEN_STATUS_PASS
- Static variable in class
TAC
Status Passed. - 1.
TAC_PLUS_AUTHEN_STATUS_RESTART
- Static variable in class
TAC
Status Restart the authentication with a START packet. - 6.
TAC_PLUS_AUTHEN_SVC_ARAP
- Static variable in class
TAC
Service for the Start packet. - ARAP Login - 4.
TAC_PLUS_AUTHEN_SVC_ENABLE
- Static variable in class
TAC
Service for the Start packet. - Enable - 2.
TAC_PLUS_AUTHEN_SVC_FWPROXY
- Static variable in class
TAC
Service for the Start packet. - Proxy service - 9.
TAC_PLUS_AUTHEN_SVC_LOGIN
- Static variable in class
TAC
Service for the Start packet. - Login service - 1.
TAC_PLUS_AUTHEN_SVC_NASI
- Static variable in class
TAC
Service for the Start packet. - NASI service - 8.
TAC_PLUS_AUTHEN_SVC_NONE
- Static variable in class
TAC
Service for the Start packet. - No service - 0.
TAC_PLUS_AUTHEN_SVC_PPP
- Static variable in class
TAC
Service for the Start packet. - PPP service - 3.
TAC_PLUS_AUTHEN_SVC_PT
- Static variable in class
TAC
Service for the Start packet. - service - 5.
TAC_PLUS_AUTHEN_SVC_RCMD
- Static variable in class
TAC
Service for the Start packet. - RCMD service - 6.
TAC_PLUS_AUTHEN_SVC_X25
- Static variable in class
TAC
Service for the Start packet. - X25 service - 7.
TAC_PLUS_AUTHEN_TYPE_ARAP
- Static variable in class
TAC
Authentication type - 4.
TAC_PLUS_AUTHEN_TYPE_ASCII
- Static variable in class
TAC
Authentication type - 1.
TAC_PLUS_AUTHEN_TYPE_CHAP
- Static variable in class
TAC
Authentication type - 3.
TAC_PLUS_AUTHEN_TYPE_MSCHAP
- Static variable in class
TAC
Authentication type - 5.
TAC_PLUS_AUTHEN_TYPE_PAP
- Static variable in class
TAC
Authentication type - 2.
TAC_PLUS_AUTHOR
- Static variable in class
TAC
Authorization Request Type - 2.
TAC_PLUS_AUTHOR_STATUS_ERROR
- Static variable in class
TAC
Authorization Status Type - 17.
TAC_PLUS_AUTHOR_STATUS_FAIL
- Static variable in class
TAC
Authorization Status Type - 16.
TAC_PLUS_AUTHOR_STATUS_FOLLOW
- Static variable in class
TAC
Authorization Status Type - 33.
TAC_PLUS_AUTHOR_STATUS_PASS_ADD
- Static variable in class
TAC
Authorization Status Type - 1.
TAC_PLUS_AUTHOR_STATUS_PASS_REPL
- Static variable in class
TAC
Authorization Status Type - 2.
TAC_PLUS_CONTINUE_FLAG_ABORT
- Static variable in class
TAC
Flag for the Continue packet that the authentication process must stop - 1.
TAC_PLUS_CONTINUE_FLAG_OK
- Static variable in class
TAC
Flag to indicate that a Continue packet can procede -0.
TAC_PLUS_PRIV_LVL_MAX
- Static variable in class
TAC
Privilege level - 15.
TAC_PLUS_PRIV_LVL_MIN
- Static variable in class
TAC
Privilege level - 0.
TAC_PLUS_PRIV_LVL_ROOT
- Static variable in class
TAC
Privilege level - 15.
TAC_PLUS_PRIV_LVL_USER
- Static variable in class
TAC
Privilege level - 1.
TAC_PLUS_REPLY_FLAG_NOECHO
- Static variable in class
TAC
Flag for the Reply packet. - 1.
toASCII(String)
- Static method in class
Util
Convert a string to bytes encoded using ASCII, the TACACS+ protocol standard encoding.
toASCII(byte[])
- Static method in class
Util
Convert a byte array to a string using ASCII encoding.
toHexString(byte[])
- Static method in class
Util
Convert a byte buffer to a hex string.
toHexString(byte[], int, int)
- Static method in class
Util
Convert a byte buffer to a hex string.
toString()
- Method in class
AVPair
String representation of the AVPair.
toString()
- Method in class
AttributeList
Return a string representation of this list.
toString()
- Method in class
TACACSClient
Return representation of the TACACS+ connection.
toString()
- Method in class
TACACSSession
Return the string representation of the TACACSession.
U
Util
- class
Util
.
TACACS++ utilities class.
Util()
- Constructor for class
Util
V
Version
- Static variable in class
TACACSClient
Client software version number ("1.15")
verifyARAP(byte[], byte[])
- Method in class
AuthenticationPacket
Verify the ARAP information returned from the server
A
C
D
E
G
I
L
M
P
R
S
T
U
V
Overview
Package
Class
Use
Tree
Deprecated
Index
AXL Software™
PREV NEXT
FRAMES
NO FRAMES
All Classes
Submit a bug report or feature request
Copyright 1998-2002
AXL Software™
PO Box 97, Viola, Delaware 19979, U.S.A. All Rights Reserved.