Getting IdP attributes from proxy IdP
Cantor, Scott
cantor.2 at osu.edu
Thu Feb 1 13:34:47 UTC 2024
I see two obvious problems:
- Caling contains on the IdPAttribute and not on the getValues() result (I did add a contains method to IdPAttribute, but not in that old a version).
- Passing a string into contains when the collection is of IdPAttributeValue and not String.
> It looks like I can dig into the object "manually" (since I can fairly
> confidently assume that the values are all StringAttributeValues in this
> case) but is there a better way to do "is attribute value X among the
> attribute values for attribute Y"?
Not in that old a version, but the overall approach is also not ideal. I'd wire up a SimpleAttributePredicate bean and just apply it to the data.
-- Scott
More information about the users
mailing list