You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oltu.apache.org by "Amrit Verma (JIRA)" <ji...@apache.org> on 2016/04/29 15:20:12 UTC
[jira] [Created] (OLTU-196) Type cast error in JWTClaimsSetParser
Amrit Verma created OLTU-196:
--------------------------------
Summary: 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
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)