Radiator Server Documentation — v10.34.2

@pre_authentication

Variant of @pre_execute for @authentication which is only executed for authentication requests. If this pipeline rejects, the main @authentication and @post_authentication pipelines are skipped, and the request is rejected immediately.

Note: The @ prefix is required for pipeline blocks. The legacy syntax without @ (e.g., pre_authentication {}) is deprecated and emits warnings. Use @pre_authentication {} for new configurations.

See also

Example

@pre_authentication {
    if all {
        aaa.identity == /@example\.com$/;
    } then {
        aaa.identity = aaa.identity.name;
    }
}