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

Simone Tripodi reassigned OLTU-196:
-----------------------------------

    Assignee: Simone Tripodi

> 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
>         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