| 程序包 | 说明 |
|---|---|
| org.tinyradius.attribute |
This package contains classes for Radius attributes and Radius
attribute types.
|
| org.tinyradius.packet |
This package contains classes for encoding and decoding Radius packets.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
IntegerAttribute
This class represents a Radius attribute which only
contains a 32 bit integer.
|
class |
IpAttribute
This class represents a Radius attribute for an IP number.
|
class |
StringAttribute
This class represents a Radius attribute which only
contains a string.
|
class |
VendorSpecificAttribute
This class represents a "Vendor-Specific" attribute.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RadiusAttribute |
RadiusAttribute.createRadiusAttribute(Dictionary dictionary,
int vendorId,
int attributeType)
Creates a RadiusAttribute object of the appropriate type.
|
static RadiusAttribute |
RadiusAttribute.createRadiusAttribute(int attributeType)
Creates a Radius attribute.
|
static RadiusAttribute |
RadiusAttribute.createRadiusAttribute(int vendorId,
int attributeType)
Creates a Radius attribute, including vendor-specific
attributes.
|
RadiusAttribute |
VendorSpecificAttribute.getSubAttribute(int type)
Returns a sub-attribute of the given type which may only occur once in
this attribute.
|
RadiusAttribute |
VendorSpecificAttribute.getSubAttribute(String type)
Returns a single sub-attribute of the given type name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
VendorSpecificAttribute.addSubAttribute(RadiusAttribute attribute)
Adds a sub-attribute to this attribute.
|
void |
VendorSpecificAttribute.removeSubAttribute(RadiusAttribute attribute)
Removes the specified sub-attribute from this attribute.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RadiusAttribute |
RadiusPacket.getAttribute(int type)
Returns a Radius attribute of the given type which may only occur once
in the Radius packet.
|
RadiusAttribute |
RadiusPacket.getAttribute(int vendorId,
int type)
Returns a Radius attribute of the given type and vendor ID
which may only occur once in the Radius packet.
|
RadiusAttribute |
RadiusPacket.getAttribute(String type)
Returns a single Radius attribute of the given type name.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RadiusPacket.addAttribute(RadiusAttribute attribute)
Adds a Radius attribute to this packet.
|
void |
RadiusPacket.removeAttribute(RadiusAttribute attribute)
Removes the specified attribute from this packet.
|
Copyright © 2016. All rights reserved.