AXL Software™

com.theorem.tacacs
Interface TACACSCallback

All Known Implementing Classes:
Client

public interface TACACSCallback

Call back interface for the TACACSCient. The methods are used to communicate replies and errors back to the TACACS supplicant. This interface is provided as a convenience to those requiring a callback mechanism. This is not required for operation.

Code using the TACACS+ client must implement this class. The class providing the call back is not required to be the class that sent the packet.

The implementing class must cast the Packet parameter to the appropriate subclass. This will be one of AuthenticationPacket, AuthorizationPacket, or AccountingPacket.

Modifying properties in the TACACSSession is not thread safe. Concurrent modifications are likely to produce unpredictable results.


Method Summary
 void acceptTACACSReply(TACACSSession session, Packet replyPacket)
          Accept a call back from the TACACSClient.
 

Method Detail

acceptTACACSReply

public void acceptTACACSReply(TACACSSession session,
                              Packet replyPacket)
Accept a call back from the TACACSClient.

Parameters:
session - The session with the reply. This is the same session that was sent by the client.
replyPacket - ReplyPacket. The reply packet may be one of AuthenticationPacket, AuthorizationPacket, or AccountingPacket.

AXL Software™

Submit a bug report or feature request

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