Policy
This is the start of a policy clause. The clause has a name which is defined as a string. A single policy can contain multiple handlers from which a first handler to match will be selected to handle the received request.
Example configuration of a policy clause:
aaa {
policy "RADIUS" {
conditions all {
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.