This is as it should be, I think.
> Of course I can modify my applications to read this urn, or I could
> include attributemapper.php and translate them; the thing is however
> is that most plugins (such as Feide's simplesamlphp-authentication
> plugin for WordPress) assume that it's uid, not the urn. To avoid
> having to modify all those plugins, is there a way to either not have
> it use urn:oid:* attribute names, or is there a way so that whatever
> goes in on the IDP side comes out the same on the SP side?
Of course you own the IdP and the SP here, so you can do anything you
want :-) but "fixing" this at your IdP will render your SP
incompatible with the majority of the SAML IdPs in the world today.
You know that old saying: "pay me now, or pay me later."
Tom
Credit for the WordPress plugin should go to its author, David
O’Callaghan. It was not created by Feide.
> assume that it's uid, not the urn. To avoid
> having to modify all those plugins, is there a way to either not have
> it use urn:oid:* attribute names, or is there a way so that whatever
> goes in on the IDP side comes out the same on the SP side?
I'm unsure about what you refer to with attributemapper.php, but is
there a reason why you cannot add the AttributeMap authproc filter[1]
in your SP configuration to convert the oids back to names?
E.g., in authsources.php:
'default-sp' => array(
[...],
'authproc' => array(
50 => array(
'class' => 'core:AttributeMap',
'oid2name',
),
),
),
[1] http://simplesamlphp.org/docs/1.6/core:authproc_attributemap
Regards,
Olav Morken
UNINETT / Feide
Of course I can modify my applications to read this urn, or I couldinclude attributemapper.php and translate them; the thing is howeveris that most plugins (such as Feide's simplesamlphp-authenticationplugin for WordPress)
Credit for the WordPress plugin should go to its author, David
O’Callaghan. It was not created by Feide.
I'm unsure about what you refer to with attributemapper.php, but is
there a reason why you cannot add the AttributeMap authproc filter[1]
in your SP configuration to convert the oids back to names?
E.g., in authsources.php:
'default-sp' => array(
[...],
'authproc' => array(
50 => array(
'class' => 'core:AttributeMap',
'oid2name',
),
),
),