|
AXL Software™ | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAttributeList
TACACS+ Attribute list. This should not be used directly. Please use on the subclasses.
| Constructor Summary | |
AttributeList()
|
|
| Method Summary | |
void |
add(AVPair attribute)
Add an AV pair. |
void |
add(String attribute)
Add an attribute to the list. |
void |
add(String name,
String separator,
String value)
Add an attribute to the list. |
void |
clear()
Clear all attributes. |
void |
extractAVPairs(byte[] packet,
int countOffset,
int argBlockOffset)
Read a data block from the packet. |
AVPair |
get(String name)
Get the first AVPair matching the given the attribute name. |
AVPair[] |
getAll(String name)
Get the all the AVPairs's matching the given the attribute name. |
Iterator |
iterator()
Provide an iteration of the attributes. |
String |
toString()
Return a string representation of this list. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AttributeList()
| Method Detail |
public void add(String attribute)
throws TACACSException
attribute - Attribute Value Pair.
TACACSException - if the attribute cannot be parsed.public void add(AVPair attribute)
attribute - AVPair.
public void add(String name,
String separator,
String value)
throws TACACSException
name - Attribute name.separator - Separator character, '=' for manditory, '*' for optional.value - Attribute value.
TACACSException - if the attribute cannot be constructed.
public void extractAVPairs(byte[] packet,
int countOffset,
int argBlockOffset)
throws TACACSException
packet - Packet contents.countOffset - Offset to the arg count and arg sizes blockargBlockOffset - Offset to the AV pairs.
TACACSException - if there's a problem reading the av pair block.public void clear()
public AVPair get(String name)
public AVPair[] getAll(String name)
public Iterator iterator()
public String toString()
|
AXL Software™ | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||