Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

If you just want the name of the first group, then it is:

 

groups[0].name

 

If you want to return a specific group name, then you must map a RADIUS attribute, e.g. Filter-Id to the script below:

nestedGroups.find{it.radiusAttributes.any{ att-> att.name=='Filter-Id'}}.name

Then you must also assign the RADIUS attribute to the group, e.g. 'aaa'

Image Added

IETF/Class

 

The RADIUS attribute "class" has the data type called "octets". In DualShield, there is no such data type. You must use the hexadecimal value of the data or use the "bytes" function:

...