Uploaded image for project: 'XMLTooling - C++'
  1. XMLTooling - C++
  2. CPPXT-133

Eliminate uses of getTextContent in DOM helpers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.1, 1.2, 1.2.1, 1.2.2, 1.3, 1.3.1, 1.3.2, 1.3.3, 1.4, 1.4.1, 1.4.2, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.6.0, 1.5.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4
    • Fix Version/s: 3.0.0
    • Component/s: Core Classes
    • Labels:
      None
    • Environment:

      Fresh CentOS 7

    • Operating System:
      Linux
    • Web Server:
      Apache 2.4

      Description

      The distributed default shibboleth2.xml config file is missing the XML namespace declaration bound to the md: prefix as used in an EntityRoleWhilteList MetadataFilter: That filter uses the md prefix in the values of its RetainedRole child elements (e.g. md:IDPSSODescriptor).

      That causes all IDPs to be filtered, with nothing being logged – not even with OpenSAML.MetadataProvider on DEBUG – other than "applying metadata
      filter" for each configured filter, making this a bit hard to find.

      Adding the declaration makes metadata re-appear:

      <SPConfig xmlns="urn:mace:shibboleth:3.0:native:sp:config"                                                                                    
          xmlns:conf="urn:mace:shibboleth:3.0:native:sp:config"                                                                                     
          xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"                                                                                           
          clockSkew="180">
      

      Only after fixing this for me I noticed that the distributed example-shibboleth2.xml already has that prefix declared.

        Attachments

          Activity

            People

            Assignee:
            cantor.2@osu.edu Scott Cantor
            Reporter:
            peter@aco.net Peter Schober
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 30 minutes
                3h 30m