OpenConext-Attic / OpenConext-serviceregistry

:warning: Obsolete respository, archive only :zzz:
Other
4 stars 4 forks source link

Default value nameIDformat after importing metadata with an unknown nameIDformat to be set different #30

Open maartenk opened 10 years ago

maartenk commented 10 years ago

When importing metadata and the NameIDformat in the metadata is not known, the default value is set to NameIDFormat = urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified, which is more-or-less deprecated. Would be nice if this is set to the same default value when no nameIDformat is entered: urn:oasis:names:tc:SAML:2.0:nameid-format:transient.

For instance metadata containing <md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat> results as NameIDFormat = urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified in the ServiceRegistry.