Uploaded image for project: 'OpenWS - Java'
  1. OpenWS - Java
  2. JOWS-26

KeyIdentifierMarshaller uses an incorrect attribute name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Java Version:
      Sun 1.6

      Description


      The WS-Security KeyIdentifierMarshaller uses the wrong attribute name:

      http://svn.middleware.georgetown.edu/view/java-openws/branches/REL_1/src/main/java/org/opensaml/ws/wssecurity/impl/KeyIdentifierMarshaller.java?revision=324&view=markup&sortby=date

      if (!DatatypeHelper.isEmpty(keyIdentifier.getValueType())) {
              domElement.setAttributeNS(null, KeyIdentifier.ENCODING_TYPE_ATTRIB_NAME, keyIdentifier.getValueType());
      }

      This should be:

      if (!DatatypeHelper.isEmpty(keyIdentifier.getValueType())) {
              domElement.setAttributeNS(null, KeyIdentifier.VALUE_TYPE_ATTRIB_NAME, keyIdentifier.getValueType());
      }

        Attachments

          Activity

            People

            • Assignee:
              lajoie@georgetown.edu Chad La Joie
              Reporter:
              coheigea Colm O hEigeartaigh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: