oltu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amrit Verma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OLTU-196) Type cast error in JWTClaimsSetParser
Date Fri, 29 Apr 2016 13:20:12 GMT
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

View raw message