Radiator Server Documentation — v10.34.2
Table of Contents

Policy

A named policy groups handlers for processing requests.

Radiator Server evaluates policies in configuration order. When a policy's conditions match, it selects the first matching handler in that policy. If no handler matches, request processing stops. Radiator Server does not try another policy.

Select the protocol in the policy's conditions all block, for example, aaa.protocol == protocol.RADIUS. Handler conditions select requests within that protocol.

Setting a server policy routes requests to the named policy and bypasses its conditions. If no handler matches, Radiator Server does not try another policy.

Example configuration of a policy clause:

aaa {
    policy "RADIUS" {
        conditions all {
            aaa.protocol == protocol.RADIUS;
            radius.server == "RADSEC_SERVER";
        }

        handler "AUTHENTICATION" {
            # ..
        }

        handler "ACCOUNTING" {
            # ..
        }
    }
}

The conditions block defines the conditions for selecting this policy.

See Policy Handler for more details on handlers and pipelines.