SP 2.5, attribute checker

Cantor, Scott cantor.2 at osu.edu
Fri Feb 17 18:53:23 GMT 2012


On 2/17/12 1:47 PM, "Steven Carmody" <Steven_Carmody at brown.edu> wrote:

>My first simple use of the Attribute Checker worked just fine ...

The hardest problem I had was the obvious one, coming up with reasonable
error messages. I can't think of much else I can make available to the
template for doing one, and my guess is if there are other metadata items
needed, they'll be entity attribute tags, in which case you extract those
via the XML extractor into the user's session and pull them into the
template.

I'd also note that I built language awareness into the SP. As in parsing
the Accept-Language header, calculating tag priority, and doing tag
matching against xml:lang. This was horrendous.

I will be building in an option to do language matching of any user
attribute whose values carry xml:lang. Theres's no standard for that in
SAML, but it's easy enough to do now that the code is in place.

-- Scott



More information about the dev mailing list