Response attributes

Response attributes can be configured for the following message types:

  • Access-Accept

  • Access-Challenge

  • Access-Reject

Which attribute to set is specified using type code or name. The value supports property expansion (see below) and supports vendor specific attributes using the special syntax:

"value": "<vendor-id>:<sub-type>:<value>"

Vendor specific attributes can only be added as attribute 26 (Vendor-Specific).

Attribute operation controls how the configured attribute should be "added" to the specified response:

  • CREATE: Attribute is created if and only if an attribute of same type does not already exist in the response (default).

  • ADD: Attribute is added and the result may contain multiple attributes of the same type.

  • REPLACE: Existing attributes (zero, one or many) of same type is replaced.

  • COPY: All attribute of configured type is copied from request.

Name
Description

type

Attribute type. Mandatory unless name is specified.

name

Attribute name. Mandatory unless type is specified.

value

Attribute value. Supports property expansion.

operation

Attribute operation (Default: "CREATE")

Property expansion context contains the following scopes:

  • Request ("request")

  • Session ("session")

  • Pipe response Item ("item")

The result of an expansion expression is always a string

Name
Description

id

Numerical radius request packet identifier

type

Numerical radius request packet type (int)

name

Radius request packet type name

*

Named request attribute (both attribute type (ex "1") and name (ex "User-Name") are supported)