Uploaded image for project: 'WSS4J'
  1. WSS4J
  2. WSS-605

Ensure the ws-security-dom can work with the saaj impl in latest Java9 EA kit

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.0
    • None
    • None

    Description

      In latest JDK9 EA kit, the SAAJ api changed, for example, the
      com.sun.xml.internal.messaging.saaj.soap.impl.ElementImpl now not extends its dom counterpart com.sun.org.apache.xerces.internal.dom.ElementNSImpl, instead it store it as a field and add a method

          public Element getDomElement() {
              return element;
          }
      

      to get it. so the extends become aggregates.

      This change cause lots of ClassCastException and wrong DocOwner exception which use ws-seucrity-dom which rely on the Dom and Saaj api heavily.

      Attachments

        1. WSS-605.patch
          9 kB
          Freeman Yue Fang
        2. WSS-605-new.patch
          9 kB
          Freeman Yue Fang
        3. WSS-605-new2.patch
          9 kB
          Freeman Yue Fang
        4. WSS-605-new3.patch
          9 kB
          Freeman Yue Fang
        5. WSS-605-new4.patch
          10 kB
          Freeman Yue Fang
        6. WSS-605-new5.patch
          11 kB
          Freeman Yue Fang
        7. WSS-605-new6.patch
          15 kB
          Freeman Yue Fang

        Activity

          People

            coheigea Colm O hEigeartaigh
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: