5 Replies Latest reply on Feb 21, 2015 9:52 AM by pcraveiro

    Metadata with RoleDescriptor?

    advommen

      Configuring a Service Provider with a metadata xml provided by the external IdP, I got an error upon deployment stating

      Parser: Unknown Start Element: RoleDescriptor

      Using PicketLink 2.1.8.FINAL.

       

      The error message is pointing exacty to the element RoleDescriptor in the sp-metadata.xml

      ?xml version="1.0" encoding="UTF-8"?>

       

      <EntityDescriptor ID="_24fd2e07-4435-4d32-8d8e-df8eb41458c6"

        entityID="urn:federation:deg_fedsvc-stage_pwc_com" xmlns="urn:oasis:names:tc:SAML:2.0:metadata">

      ....

      <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">

      ....

      <RoleDescriptor

      ^

       

      Signature is processed sucessfully.

       

      Looking at the code parsing the EntityDescriptor, I see that a limitive list of elements are accepted as childs.

      RoleDescriptor in not one of them, though it seems part of the SAML Metadata specification?

       

      Maybe anyone please explain this to me?