AXL Software®

com.theorem.tacacs
Class AuthorizationPacket

Object
  extended byPacket
      extended byAuthorizationPacket

public final class AuthorizationPacket
extends Packet

The Authorization packet contains information in the reply packet returned from an authorization request.


Method Summary
 byte[] getData()
          Get the authorization reply data field contents.
 AttributeList getResponseAttributes()
          Get the response attributes.
 String getServerMessage()
          Get the server message.
 int getStatus()
          Get the status flag.
 String getStatusName(int status)
          Get the name of the status value.
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStatusName

public String getStatusName(int status)
Get the name of the status value.

Parameters:
status - Authorization status value.

getServerMessage

public String getServerMessage()
Get the server message.

Returns:
Server message.

getData

public byte[] getData()
Get the authorization reply data field contents.

Returns:
Data field contents. If there is not data an empty array is returned.

getStatus

public int getStatus()
Get the status flag.

Returns:
Status flag.

getResponseAttributes

public AttributeList getResponseAttributes()
Get the response attributes.

Returns:
Authorization attribute list.

AXL Software®

Submit a bug report or feature request

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