Checking for regex match of attribute values in a script
IAM David Bantz
dabantz at alaska.edu
Wed Feb 21 13:12:16 EST 2018
We "ValueMap" memberOf values with regex to extract (possibly multiple)
Not exactly what you asked for but a possible alternative depending on your
On Wed, Feb 21, 2018 at 7:23 AM, Wessel, Keith <kwessel at illinois.edu> wrote:
> Hi, all,
> We've got a scripted attribute definition that checks for several values
> of memberOf with memberOf.getValues().contains(). I'd like to convert
> this to use a regex to match partial group names....
> Is there a way to do a regex match on attribute values with contains()? Or
> do I need to iterate through the attribute values with a loop to do this
> comparison? Or is there another method on collections that I should be
> using other than contains()?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users