What are the different NameID format used for?

前端 未结 4 1179
被撕碎了的回忆
被撕碎了的回忆 2020-12-08 09:10

In SAML metadata file there are several NameID format defined, for example:

urn:mace:shibboleth:1.0:nameIdentifier

         


        
4条回答
  •  Happy的楠姐
    2020-12-08 09:56

    1 and 2 are SAML 1.1 because those URIs were part of the OASIS SAML 1.1 standard. Section 8.3 of the linked PDF for the OASIS SAML 2.0 standard explains this:

    Where possible an existing URN is used to specify a protocol. In the case of IETF protocols, the URN of the most current RFC that specifies the protocol is used. URI references created specifically for SAML have one of the following stems, according to the specification set version in which they were first introduced:

    urn:oasis:names:tc:SAML:1.0:
    urn:oasis:names:tc:SAML:1.1:
    urn:oasis:names:tc:SAML:2.0:
    

提交回复
热议问题