[ 
https://issues.apache.org/jira/browse/AMBER-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Raymond Feng resolved AMBER-60.
-------------------------------

    Resolution: Fixed

Fixed under r1384824. Thanks for catching the issue.
                
> MD5 hex token length problem
> ----------------------------
>
>                 Key: AMBER-60
>                 URL: https://issues.apache.org/jira/browse/AMBER-60
>             Project: Amber
>          Issue Type: Bug
>          Components: OAuth 2.0 - Authorization Server
>    Affects Versions: 0.22
>            Reporter: Peter Turcsanyi
>            Assignee: Raymond Feng
>            Priority: Minor
>
> The length of MD5 tokens should be 32 in hex string format. Sometimes the 
> token is shorter.
> Cause:
> In MD5Generator.generatevalue() method byte values less than 16 are converted 
> to only one hex character. Eg. 12 is contverted to "c", but should be "0c".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to