The RADIUS protocol is designed for extensibility by providing vendor-specific attributes. This is a widely-used mechanism to allow vendors to define additional information attributes to be carried in RADIUS messages. Vendor-specific attributes are carried in a RADIUS message with a message type of 26 and a value of an opaque string. However, RFC 2865 provides a recommended method for structuring the opaque string value into a sequence of subattribute type, length, value triplets, preceded by a vendor identifier.
Represents a vendor-specific attribute that consists of a numeric vendor ID and one or more subattributes.
Integer
Identifies the vendor for which the sub-attributes apply.
Note
For definitions of vendor IDs, see the SMI Network Management Private Enterprise Codes.
Array
Array of RadiusVSAAttributes.
Represents a vendor-specific subattribute that is contained in a vendor-specific attribute and contains a vendor-assigned type, length, and value. The value is always a string.
Integer
Identifies the subattribute type.
Integer
Read-only property that provides the length of the string value.
String
Associated value for this subattribute.
The following line of code shows that, in addition to a default constructor, the RadiusVSAAttribute class provides a constructor that takes an integer type and a string value as parameters for type and value.
var attr = new RadiusVSAAttribute( 27, "h323-call-type=VOIP");