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

Can't use Password Digest on Z/OS

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.8
    • Fix Version/s: 1.5.9, 1.6
    • Component/s: WSS4J Core
    • Labels:
      None
    • Environment:
      Z/OS

      Description

      Base64.decode doesn't account for EBCDIC encoding.

      line 281: byte[] base64Data = encoded.getBytes();

      results in an array of garbage.

      Then, line 307: b1 = base64Alphabet[base64Data[dataIndex++]];

      causes an ArrayIndexOutOfBoundsException.

      The result is that the PasswordDigest is blank.

        Attachments

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              bethayres Beth Ayres
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: