Line feed delimited multi-value attribute
Cantor, Scott
cantor.2 at osu.edu
Tue Sep 6 19:32:05 EDT 2016
On 9/6/16 7:18 PM, Bryan Wooten wrote:
> >
> We send this:
No, you send SAML, and none of that is SAML/XML. If you want to know
what you're sending, you'll have to log the messages.
> 12:05:19.979 - INFO [edu.internet2.middleware.shibboleth.resolver.Script.eduCourseOffering:-1] - eduCourseOffering: [Fa16:GERM:2010:001, Fa16:CS:3500:002, Fa16:CS:3500:001, Fa16:CS:3810:001]
I freely admit I don't know what you're doing here. But...that's you
logging a collection in Java by implicitly convering it to a String,
which Java implements by dumping the values separated by commas. That
has nothing to do with what's on the wire.
Perhaps that collection only has a single value that contains commas
though, though, which may be hard to distinguish from what Java normally
does with collections, and so perhaps I'm the one who's lost here, but
if that's true, you need to fix it. You need to be adding each value to
the collection separately.
If you create 2 values in an IdPAttribute by adding them one at a time,
then you'll get two/separate AttributeValue elements in the SAML
Attribute. And that's what you MUST do.
> How can I change it to MAKE the add do Line delimitation?
You don't. What they're telling you is a misunderstanding. Possibly
you're confusing them with what you're sending, so it would be more
illuminating to actually see what that is.
-- Scott
More information about the users
mailing list