[ 
https://issues.apache.org/jira/browse/WSS-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909935#action_12909935
 ] 

Colm O hEigeartaigh commented on WSS-243:
-----------------------------------------


I merged a fix for this issue, or at least I think it's a fix :-) Can you 
checkout the latest 1.5.9-SNAPSHOT code from:

https://svn.apache.org/repos/asf/webservices/wss4j/branches/1_5_x-fixes

...compile it, and test it on Z/OS to make sure it fixes the problem?

Thanks,

Colm.

> Can't use Password Digest on Z/OS
> ---------------------------------
>
>                 Key: WSS-243
>                 URL: https://issues.apache.org/jira/browse/WSS-243
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Core
>    Affects Versions: 1.5.8
>         Environment: Z/OS
>            Reporter: Beth Ayres
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.5.9, 1.6
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscr...@ws.apache.org
For additional commands, e-mail: wss4j-dev-h...@ws.apache.org

Reply via email to