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:
- Evaluates policies in the order they appear in the AAA block
- Selects the first policy which has conditions that match the request
- Processes the request using that policy's handlers
Example
aaa {
policy "AUTHENTICATION_POLICY" {
conditions all {
radius.request.code == radius.ACCESS_REQUEST;
}
handler "LOCAL_AUTH" {
# Authentication logic
}
}
policy "ACCOUNTING_POLICY" {
conditions all {
radius.request.code == radius.ACCOUNTING_REQUEST;
}
handler "ACCOUNTING" {
# Accounting logic
}
}
}