| 程序包 | 说明 |
|---|---|
| org.tinyradius.attribute |
This package contains classes for Radius attributes and Radius
attribute types.
|
| org.tinyradius.dictionary |
This package contains interfaces and classes that manage
a dictionary of Radius attribute types.
|
| org.tinyradius.packet |
This package contains classes for encoding and decoding Radius packets.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Dictionary |
RadiusAttribute.getDictionary()
Returns the dictionary this Radius attribute uses.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RadiusAttribute |
RadiusAttribute.createRadiusAttribute(Dictionary dictionary,
int vendorId,
int attributeType)
Creates a RadiusAttribute object of the appropriate type.
|
void |
VendorSpecificAttribute.setDictionary(Dictionary dictionary)
Also copies the new dictionary to sub-attributes.
|
void |
RadiusAttribute.setDictionary(Dictionary dictionary)
Sets a custom dictionary to use.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
WritableDictionary
A dictionary that is not read-only.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultDictionary
The default dictionary is a singleton object containing
a dictionary in the memory that is filled on application
startup using the default dictionary file from the
classpath resource
org.tinyradius.dictionary.default_dictionary. |
class |
MemoryDictionary
A dictionary that keeps the values and names in hash maps
in the memory.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Dictionary |
DefaultDictionary.getDefaultDictionary()
Returns the singleton instance of this object.
|
static Dictionary |
DictionaryParser.parseDictionary(InputStream source)
Returns a new dictionary filled with the contents
from the given input stream.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Dictionary |
RadiusPacket.getDictionary()
Returns the dictionary this Radius packet uses.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected static RadiusPacket |
RadiusPacket.decodePacket(Dictionary dictionary,
InputStream in,
String sharedSecret,
RadiusPacket request)
Reads a Radius packet from the given input stream and
creates an appropiate RadiusPacket descendant object.
|
static RadiusPacket |
RadiusPacket.decodeRequestPacket(Dictionary dictionary,
InputStream in,
String sharedSecret)
Reads a Radius request packet from the given input stream and
creates an appropiate RadiusPacket descendant object.
|
static RadiusPacket |
RadiusPacket.decodeResponsePacket(Dictionary dictionary,
InputStream in,
String sharedSecret,
RadiusPacket request)
Reads a Radius response packet from the given input stream and
creates an appropiate RadiusPacket descendant object.
|
void |
RadiusPacket.setDictionary(Dictionary dictionary)
Sets a custom dictionary to use.
|
Copyright © 2016. All rights reserved.