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

Can't use Password Digest on Z/OS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.8
    • 1.5.9, 1.6
    • WSS4J Core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: