1.0.151
Release 19.06.2023 | Sufficient Modifier
New
- New sufficient property in the optional RADIUS atribute definition:
<add name="Class" value="value" when="condition" sufficient="true" />
.
Allowed values: true, false (by default).
How it works
If the attribute matches the conditions, it is added to the RADIUS packet. If the attribute also has the sufficient=true property, the adapter stops evaluating the optional attribute stack. The sufficient property only takes effect if the attribute passes the conditions check.
The example shows a case in which Custom-Attr attribute will not be added to the response:
<RadiusReply> <Attributes> <add name="Class" value="VPN-GP"/> <add name="Class" value="VPN-G2P" when="true statement" sufficient="true" /> <add name="Custom-Attr" value="Attr" when="true statement"/> </Attributes> </RadiusReply>