Uploaded image for project: 'OpenSAML - Java'
  1. OpenSAML - Java
  2. OSJ-321

EntityAttributes filter breaking adding values to existing Attribute

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0.0, 4.0.1
    • Fix Version/s: 4.1.0
    • Component/s: SAML 2 Metadata
    • Labels:
      None

      Description

      I think the logic I added to prevent creation of duplicate named Attributes in the EntityAttributes filter is breaking due to some kind of DOM cloning issue.

      09:44:15.984 - 127.0.0.1 - ERROR [org.opensaml.core.xml.io.AbstractXMLObjectMars
      haller:454] - Unable to root namespaces of cached DOM element, {urn:oasis:names:
      tc:SAML:2.0:assertion}AttributeValue: Unable to resolve namespace prefix saml fo
      und on element {urn:oasis:names:tc:SAML:2.0:assertion}AttributeValue
      09:44:15.984 - 127.0.0.1 - ERROR [org.opensaml.saml.metadata.resolver.filter.imp
      l.EntityAttributesFilter:233] - Error cloning AttributeValue
      org.opensaml.core.xml.io.MarshallingException: Unable to root namespaces of cach
      ed DOM element, {urn:oasis:names:tc:SAML:2.0:assertion}AttributeValue
              at org.opensaml.core.xml.io.AbstractXMLObjectMarshaller.prepareForAdoption(AbstractXMLObjectMarshaller.java:455)
      Caused by: org.w3c.dom.DOMException: Unable to resolve namespace prefix saml found on element {urn:oasis:names:tc:SAML:2.0:assertion}AttributeValue
              at net.shibboleth.utilities.java.support.xml.NamespaceSupport.rootNamespaces(NamespaceSupport.java:253)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cantor.2@osu.edu Scott Cantor
              Reporter:
              cantor.2@osu.edu Scott Cantor
              Watchers:
              3 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 - 5 hours, 15 minutes
                  5h 15m