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

Simone Tripodi resolved OLTU-196.
---------------------------------
       Resolution: Fixed
    Fix Version/s: oauth2-1.0.3

fix included in 1749341
thanks for providing the patch! :)

> Type cast error in JWTClaimsSetParser
> -------------------------------------
>
>                 Key: OLTU-196
>                 URL: https://issues.apache.org/jira/browse/OLTU-196
>             Project: Apache Oltu
>          Issue Type: Bug
>          Components: JWT
>            Reporter: Amrit Verma
>            Assignee: Simone Tripodi
>             Fix For: oauth2-1.0.3
>
>         Attachments: diff
>
>
> Generic type has been type casted to Integer \[1\] and then longValue has 
> been called. When the value is already of type Long, casting to Integer 
> throws exception.
> \[1\]: 
> https://github.com/apache/oltu/blob/trunk/oauth-2.0/jwt/src/main/java/org/apache/oltu/oauth2/jwt/io/JWTClaimsSetParser.java#L37
> Similar is the case in line 39



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to