Conditional attributes.

Ernie Kinsey Ernie.Kinsey at cpcc.edu
Wed Feb 14 07:56:42 EST 2018


I have a use case that ought to be pretty common, but I’m not quite finding what I want in the docs or in any searches I’ve done.

I have a couple of values I’m getting from LDAP, and I want to conditionally use one of the two values as an attribute to be released.  It might be something I can do in the query to LDAP for all I know, but I was also thinking that there might be a way in Shibboleth itself to evaluate the two values and use the “good” one for what I return as a user’s internal identifying number, a.k.a, “employeeNumber”.

If I can’t filter this coming from LDAP, the place I was looking at was in the attribute-resolver.xml to do the if-then kind of logic but don’t know if this is even the place to do it, or if it can be done at all this way.

Any thoughts on this, or a point to the proper documentation would be much appreciated.

Thanks,
Ernest K. Kinsey, Jr.
Central Piedmont Community College
Charlotte, NC.



________________________________

This e-mail, including any attachments, is intended only for the addressee's use and may contain confidential and proprietary information. If you are not the intended recipient, you are hereby notified that any retention, dissemination, reproduction, or use of the information contained in this e-mail is strictly prohibited. If you have received this e-mail by error, please delete it and immediately notify the sender. Thank you for your cooperation.


More information about the users mailing list