Line feed delimited multi-value attribute

Klingenstein, Nate nklingenstein at calstate.edu
Tue Sep 6 17:54:25 EDT 2016


Bryan,

One point of clarity:

In a SAML sense, is this a single-valued attribute with lots of stuff crammed into that value, or a multi-valued SAML attribute with separate fields for each?

In the latter situation, delimiters on your side will tend to stay on your side, and when they demultiplex it back into whatever form they want, they can use any delimiter they like, including line breaks.

If they just want it all stuffed into an attribute, I think you are free to use the chainsaw as much as you want before you add a value.  That value will probably need to have the concatenated blob.

There's probably a way to use a different delimiter in the IdP.  It's just unlikely to matter since when that multi-valued attribute gets serialized it's going to have, well, multiple values, and that's all SAML XML.

Take care,
Nate.

On Sep 6, 2016, at 2:41 PM, Bryan Wooten <bryan.wooten at utah.edu<mailto:bryan.wooten at utah.edu>> wrote:

So I trying to release a multi-valued attribute (eduCourseOffering).

I am using a scripted attribute in attribute resolver to manipulate an existing attribute in our LDAP using this:

eduCourseOffering.getValues().add(courses);

As I add courses they become comma delimited (reasonable) but the vendor wants “line delimited” courses. Vendor is Webassign.

Can I do this in the script? If so how? Does this even make sense? The Vendor claims other schools do this.

Cheers,

Bryan Wooten
Tel: (801)585-9323
Email: bryan.wooten at utah.edu<mailto:bryan.wooten at utah.edu>

<image001.jpg>


--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net<mailto:users-unsubscribe at shibboleth.net>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160906/844229df/attachment-0001.html>


More information about the users mailing list