Documentation

AAA policies configuration

aaa

The aaa block is the top-level container for all AAA (Authentication, Authorization, and Accounting) policies in Radiator. This block contains one or more policy definitions that determine how Radiator processes incoming RADIUS requests.

When a request arrives, Radiator:

  1. Evaluates policies in the order they appear in the AAA block
  2. Selects the first policy which has conditions that match the request
  3. Processes the request using that policy's handlers

Example

aaa {
    policy "AUTHENTICATION_POLICY" {
        conditions all {
            aaa.accounting == false;
        }

        handler "LOCAL_AUTH" {
            // Authentication logic
        }
    }

    policy "ACCOUNTING_POLICY" {
        conditions all {
            aaa.accounting == true;
        }

        handler "ACCOUNTING" {
            // Accounting logic
        }
    }
}
Navigation