Class RadiusDictionary
java.lang.Object
ru.bitel.bgbilling.kernel.network.tlv.TlvDictionary<RadiusAttributeInfo<?>,RadiusAttribute<?>>
ru.bitel.bgbilling.kernel.network.radius.RadiusDictionary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
This attribute indicates whether this Accounting-Request marks the beginning of the user service (Start) or the end (Stop).
Value
The Value field is four octets.
1 Start
2 Stop
3 Interim-Update
7 Accounting-On
8 Accounting-Off
9-14 Reserved for Tunnel Accounting
15 Reserved for Failedstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
This Attribute indicates an IPv6 prefix (and corresponding route) to be configured for the user.static final int
The Text field is one or more octets, and its contents are implementation dependent.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
checkAttribute
(int vendorCode, int type, int valueType) static RadiusAttributeInfo<?>
findAttributeInfo
(String name) static <V> RadiusAttributeInfo<V>
getAttributeInfo
(int vendor, int type) static RadiusAttribute<?>
newRadiusAttribute
(String name, String value) static RadiusAttribute<?>
parse
(ByteBuffer bb) Deprecated.static void
parse
(ByteBuffer bb, List<RadiusAttribute<?>> result) static RadiusAttribute<?>
parse
(RadiusAttributeInfo.RadiusAttributeHeader header, ByteBuffer bb) static RadiusAttributeSet
static boolean
parseAttributes
(ByteBuffer bb, int packetLength, Map<Integer, List<RadiusAttribute<?>>> standartAttributes, Map<Integer, Map<Integer, List<RadiusAttribute<?>>>> vendorAttributes) static void
reload()
-
Field Details
-
User_Name
public static final int User_Name- See Also:
-
User_Password
public static final int User_Password- See Also:
-
CHAP_Password
public static final int CHAP_Password- See Also:
-
NAS_IP_Address
public static final int NAS_IP_Address- See Also:
-
NAS_Port
public static final int NAS_Port- See Also:
-
Service_Type
public static final int Service_Type- See Also:
-
Framed_Protocol
public static final int Framed_Protocol- See Also:
-
Framed_IP_Address
public static final int Framed_IP_Address- See Also:
-
Framed_IP_Netmask
public static final int Framed_IP_Netmask- See Also:
-
Framed_Routing
public static final int Framed_Routing- See Also:
-
Filter_Id
public static final int Filter_Id- See Also:
-
Framed_MTU
public static final int Framed_MTU- See Also:
-
Framed_Compression
public static final int Framed_Compression- See Also:
-
Login_IP_Host
public static final int Login_IP_Host- See Also:
-
Login_Service
public static final int Login_Service- See Also:
-
Login_TCP_Port
public static final int Login_TCP_Port- See Also:
-
Reply_Message
public static final int Reply_Message- See Also:
-
Callback_Number
public static final int Callback_Number- See Also:
-
Callback_Id
public static final int Callback_Id- See Also:
-
Framed_Route
public static final int Framed_Route- See Also:
-
State
public static final int State- See Also:
-
Class
public static final int Class- See Also:
-
Vendor_Specific
public static final int Vendor_Specific- See Also:
-
Called_Station_Id
public static final int Called_Station_Id- See Also:
-
Calling_Station_Id
public static final int Calling_Station_Id- See Also:
-
NAS_Identifier
public static final int NAS_Identifier- See Also:
-
Proxy_State
public static final int Proxy_State- See Also:
-
NAS_Port_Id
public static final int NAS_Port_Id- See Also:
-
Acct_Status_Type
public static final int Acct_Status_TypeThis attribute indicates whether this Accounting-Request marks the beginning of the user service (Start) or the end (Stop).
Value
The Value field is four octets.
1 Start
2 Stop
3 Interim-Update
7 Accounting-On
8 Accounting-Off
9-14 Reserved for Tunnel Accounting
15 Reserved for Failed- See Also:
-
Acct_Delay_Time
public static final int Acct_Delay_Time- See Also:
-
Acct_Input_Octets
public static final int Acct_Input_Octets- See Also:
-
Acct_Output_Octets
public static final int Acct_Output_Octets- See Also:
-
Acct_Session_Id
public static final int Acct_Session_Id- See Also:
-
Acct_Authentic
public static final int Acct_Authentic- See Also:
-
Acct_Session_Time
public static final int Acct_Session_Time- See Also:
-
Acct_Input_Packets
public static final int Acct_Input_Packets- See Also:
-
Acct_Output_Packets
public static final int Acct_Output_Packets- See Also:
-
Acct_Terminate_Cause
public static final int Acct_Terminate_Cause- See Also:
-
Acct_Input_Gigawords
public static final int Acct_Input_Gigawords- See Also:
-
Acct_Output_Gigawords
public static final int Acct_Output_Gigawords- See Also:
-
CHAP_Challenge
public static final int CHAP_Challenge- See Also:
-
EAP_Message
public static final int EAP_Message- See Also:
-
Message_Authenticator
public static final int Message_Authenticator- See Also:
-
Framed_Pool
public static final int Framed_Pool- See Also:
-
NAS_IPv6_Address
public static final int NAS_IPv6_Address- See Also:
-
Framed_Interface_Id
public static final int Framed_Interface_Id- See Also:
-
Framed_IPv6_Prefix
public static final int Framed_IPv6_PrefixThis Attribute indicates an IPv6 prefix (and corresponding route) to be configured for the user. It MAY be used in Access-Accept packets, and can appear multiple times. It MAY be used in an Access-Request packet as a hint by the NAS to the server that it would prefer these prefix(es), but the server is not required to honor the hint. Since it is assumed that the NAS will plumb a route corresponding to the prefix, it is not necessary for the server to also send a Framed-IPv6-Route attribute for the same prefix. The Prefix field is up to 16 octets in length. Bits outside of the Prefix-Length, if included, must be zero.
- See Also:
-
Framed_IPv6_Route
public static final int Framed_IPv6_RouteThe Text field is one or more octets, and its contents are implementation dependent. The field is not NUL (hex 00) terminated. It is intended to be human readable and MUST NOT affect operation of the protocol. For IPv6 routes, it SHOULD contain a destination prefix optionally followed by a slash and a decimal length specifier stating how many high order bits of the prefix to use. That is followed by a space, a gateway address, a space, and one or more metrics (encoded in decimal) separated by spaces. Prefixes and addresses are formatted as described in [16]. For example, "2000:0:0:106::/64 2000::106:a00:20ff:fe99:a998 1".
- See Also:
-
Delegated_IPv6_Prefix
public static final int Delegated_IPv6_Prefix- See Also:
-
Draft_Digest_Response
public static final int Draft_Digest_Response- See Also:
-
Draft_Digest_Attributes
public static final int Draft_Digest_Attributes- See Also:
-
Digest_Response
public static final int Digest_Response- See Also:
-
Digest_Realm
public static final int Digest_Realm- See Also:
-
Digest_Nonce
public static final int Digest_Nonce- See Also:
-
Digest_Response_Auth
public static final int Digest_Response_Auth- See Also:
-
Digest_Nextnonce
public static final int Digest_Nextnonce- See Also:
-
Digest_Method
public static final int Digest_Method- See Also:
-
Digest_URI
public static final int Digest_URI- See Also:
-
Digest_Qop
public static final int Digest_Qop- See Also:
-
Digest_Algorithm
public static final int Digest_Algorithm- See Also:
-
Digest_Entity_Body_Hash
public static final int Digest_Entity_Body_Hash- See Also:
-
Digest_CNonce
public static final int Digest_CNonce- See Also:
-
Digest_Nonce_Count
public static final int Digest_Nonce_Count- See Also:
-
Digest_Username
public static final int Digest_Username- See Also:
-
Digest_Opaque
public static final int Digest_Opaque- See Also:
-
Digest_Auth_Param
public static final int Digest_Auth_Param- See Also:
-
Digest_AKA_Auts
public static final int Digest_AKA_Auts- See Also:
-
Digest_Domain
public static final int Digest_Domain- See Also:
-
Digest_Stale
public static final int Digest_Stale- See Also:
-
Digest_HA1
public static final int Digest_HA1- See Also:
-
SIP_AOR
public static final int SIP_AOR- See Also:
-
-
Constructor Details
-
RadiusDictionary
-
-
Method Details
-
reload
public static void reload() -
findAttributeInfo
-
newRadiusAttribute
-
parse
Deprecated.- Parameters:
bb
-- Returns:
-
parse
-
parse
public static RadiusAttribute<?> parse(RadiusAttributeInfo.RadiusAttributeHeader header, ByteBuffer bb) -
parseAttributes
public static boolean parseAttributes(ByteBuffer bb, int packetLength, Map<Integer, List<RadiusAttribute<?>>> standartAttributes, Map<Integer, Map<Integer, List<RadiusAttribute<?>>>> vendorAttributes) -
parseAttributes
-
getAttributeInfo
-
checkAttribute
public static boolean checkAttribute(int vendorCode, int type, int valueType)
-
parse(ByteBuffer, List)