SP: making a saml attribute out of a header
Cantor, Scott
cantor.2 at osu.edu
Fri Sep 28 12:35:26 EDT 2012
On 9/28/12 6:39 AM, "Peter Schober" <peter.schober at univie.ac.at> wrote:
>
>What's provided as FriendlyName? Though that might potentially allow
>circumventing all kinds of policies (send OID for phone number and
>claim for it to be ePPN?), so I'm not actually suggesting it.
I hadn't thought of it. That's SAML 2 only of course.
But I don't know what the threat model would be. It essentially lets the
IdP assign the local name of the attribute which is then then the basis of
policy. I'm not sure what the implications would be. Maybe nothing.
>Taking the attribute Name from the assertion might be another
>option.
I think that would be bad because all the punctuation in a URI would be
turned into underscores, which leads to a lot of questionable names that
might overlap. But I suppose it probably has a similar threat model to
using FriendlyName.
> But then people will start hardcoding rules based on such
>names and lose the abstraction that the SP provides for them (SAML1 vs
>SAML2 names, etc.)
Among other things, yes. Using wire names is definitely a bad idea.
FriendlyName is more akin to using LDAP short names, which is hardly a new
idea, but with LDAP, I believe the short name / OID mappings are local to
the client. So essentially exactly what the SP does now.
-- Scott
More information about the users
mailing list