Removed value at position (0) of attribute ??
Peter Schober
peter.schober at univie.ac.at
Fri Jul 12 03:59:53 EDT 2013
* Saurabh Tyagi <saurabh.tyagi at thepsi.com> [2013-07-12 09:14]:
> Why it is removing values?
The default attribute-policy.xml has rules to enforce that only
authorized IDPs can assert scoped attributes like (and pretty much
limited to) eduPersonPrincipanName and affiliations).
So you can either disable these rules (and run the risk of one IdP
impersonating someone else's scopes in those scoped attributes, which
might be small or noneistent, esp if your SP only knows a single IdP
via SAML metadata) or add the required extension element to the IdP's
SAML metadata.
For the latter see
https://wiki.shibboleth.net/confluence/display/SC/ShibMetaExt+V1.0
for details.
Basically you change the metadata you have on disk for that IdP by
adding something like the following as a child element of the
Extensions child element of the IDPSSODescriptor, e.g.:
<Scope xmlns="urn:mace:shibboleth:metadata:1.0" regexp="false">contoso.com</Scope>
Makeing it look something like this:
<EntityDescriptor entityID=youridp>
<IDPSSODescriptor ...>
<Extensions>
<Scope xmlns=...> as above
</Extensions>
(other stuff)
</IDPSSODescriptor>
(more other stuff)
</EntityDescriptor>
The wiki page above has the authoritative details, if in doubt.
-peter
More information about the users
mailing list