Forum Discussion
saml attribute - multiple value separate per string
Hi ruancarloss,
you would use a Variable Assign in the Visiual Policy Editor and use a custom expression to filter for AD Groups with the string XYZ.
Here is very simple example, starting with the Access Policy.
And here is the Variable Assign (in my example I filter for all AD Groups with the string test and store them in the custom variable session.custom.mygroups.
set list "|";
foreach element [split [mcget {session.ad.last.attr.memberOf}] "|"] {
if { $element contains "test"} {
append list "$element|";
}
}
return $list;
The IdP configuration then uses my custom variable session.custom.mygroups for the SAML attribute MyGroups.
The resulting SAML token has the following attributes:
Does this answer your question?
KR
Daniel
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com