OpenWS - Java
  1. OpenWS - Java
  2. JOWS-26

KeyIdentifierMarshaller uses an incorrect attribute name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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());
      }

        Activity

        Colm O hEigeartaigh created issue -
        Hide
        Chad La Joie added a comment -
        fixed in rev 392
        Show
        Chad La Joie added a comment - fixed in rev 392
        Chad La Joie made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Chad La Joie
            Reporter:
            Colm O hEigeartaigh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: