Commit Graph

42 Commits

Author SHA1 Message Date
Micah Silverman fd04a357cb Added expectAudience convenience method. 2015-09-12 04:04:18 -04:00
Micah Silverman 056dc819e2 Added expectIssuer convenience method. 2015-09-12 04:03:19 -04:00
Micah Silverman 0fab5504cd Added expectIssuedAt convenience method. 2015-09-12 03:58:30 -04:00
Micah Silverman 8f49666a40 Enforce arbitrary claim expectations when parsing 2015-09-12 01:09:44 -04:00
Micah Silverman bdb7597f0a Got rid of semicolons in JwtParserTest to make it consistent throughout. 2015-09-09 23:22:17 -04:00
Micah Silverman 59993cf614 Fixed broken testParseClaimsJwsWithPlaintextJws test. 2015-09-09 23:15:56 -04:00
Les Hazlewood 53f588f6e1 Merge pull request #40 from josebarrueta/Issue-39
Issue 39 - Add generic body type to the DefaultJws implementation.
2015-08-26 17:18:18 -07:00
josebarrueta 5c66435825 Issue-34 getting rid of slf4j. 2015-08-26 17:07:41 -07:00
josebarrueta 73d4e788ef Issue 39 - Add generic body type to the DefaultJws implementation. 2015-08-26 16:59:55 -07:00
Les Hazlewood 4d2080b369 #31: fixed base64 url padding bug 2015-06-26 11:34:33 -07:00
Les Hazlewood cafbc29a76 Readme and JavaDoc updates for the upcoming 0.5 release 2015-05-12 18:49:43 -07:00
Les Hazlewood 9f51760472 #18: enhanced code coverage. Added cobertura for code enforcement and reporting. 2015-05-11 13:21:22 -07:00
Les Hazlewood 66b30e2e10 #18: extracted Android-specific logic out of the Base64Codec to its own class. Created a factory that can return either depending on environment. Ensured all code other than the lang package is at 100% test coverage. 2015-05-08 20:22:22 -07:00
Les Hazlewood c18e4eed05 Merge branch 'master' into android 2015-05-07 23:43:02 -07:00
Les Hazlewood 4904753ca5 #27: removed empty method 2015-05-07 23:30:41 -07:00
Les Hazlewood d644d8f9ee #27: finished EC implementations. Also added test cases to get to 100% code coverage on all code except the lang package. 2015-05-07 23:29:40 -07:00
Les Hazlewood 8d86973b4b #27: initial implementation of Elliptic Curve signatures with tests. Still have a bit more code coverage to add before I'm happy. 2015-05-06 22:41:53 -07:00
Les Hazlewood 01996aa15b #18: fixed Android detection algorithm from class check to system property check. This is to ensure that, during tests, the stub android .jar isn't used since it is in the classpath. 2015-04-29 10:06:08 -07:00
Les Hazlewood 115b6f4dca #18: updated logic to remove warnings from dalvik jvm. 2015-04-29 09:15:52 -07:00
Les Hazlewood 042bac29d7 Merge branch 'master' into android 2015-04-29 09:13:34 -07:00
Les Hazlewood c29c6a2fe8 Implemented issue #25 2015-04-28 19:39:59 -07:00
Les Hazlewood 0d99197a0c Merge branch 'master' into android 2015-04-27 17:29:49 -07:00
Les Hazlewood dcf4d75148 This issue fixes and closes #23 2015-04-27 17:09:10 -07:00
Les Hazlewood e983155326 #18: added initial implementation that *should* work in Android environments. This still needs to be tested in a real Android project. 2015-04-03 19:06:42 -07:00
Les Hazlewood 060666a32e #20: added some test cases to assert that the already existing behavior in JJWT is not susceptible to the discussed attack vectors. 2015-04-03 18:22:04 -07:00
Les Hazlewood 6631b0b8c4 Minor doc updates. Added a test case. 2015-03-14 18:37:47 -07:00
josebarrueta 5699a69256 Issue #10 Switching Claims validation after the JWT signature was validated. 2014-11-21 21:21:05 -08:00
Les Hazlewood ec643b4556 updated SigningKeyResolver concept to handle standard java.security.Key instances, and updated the SigningKeyResolverAdapter to include bytes convenience methods. 2014-11-19 19:00:54 -08:00
josebarrueta 44965c7b9f Issue #8 Added ability to resolve signing keys with String payload. Added SigningKeyResolverAdapter. 2014-11-18 22:42:03 -08:00
josebarrueta e1be49020c Issue #8 Add unit test to the pull request. 2014-11-17 16:45:41 -08:00
josebarrueta 3eb4f01c3f Issue #8 Add ability to resolve signing key based on Jws embedded values before its signature is verified 2014-11-17 13:56:48 -08:00
Les Hazlewood 5540d5ded0 resolved Issue #7 2014-10-28 17:46:30 -07:00
Les Hazlewood 35a42826ea Issue #6: Fixed tests to not reference static (stale) expiration dates 2014-10-28 17:40:37 -07:00
Les Hazlewood adbcf46de3 Issue #6: ensured that a (new) ExpiredJwtException is thrown when parsing an expired Claims JWT or JWS. 2014-10-28 16:41:15 -07:00
Les Hazlewood 962e228428 Filling out test cases 2014-09-26 21:55:30 -07:00
Les Hazlewood 1c20700202 Fixed JDK 8 compile errors 2014-09-26 20:19:49 -07:00
Les Hazlewood 52c9536550 Added missing implementations. Test cases to follow. 2014-09-26 20:06:14 -07:00
Les Hazlewood f8aff1de0e Initial implementation using a JwtHandler approach with additional convenience methods 2014-09-26 19:52:50 -07:00
Les Hazlewood 4f64231600 added Claims mutation methods to JwtBuilder for convenience 2014-09-26 17:47:15 -07:00
Les Hazlewood 34d523e689 Lots of JavaDoc additions 2014-09-19 20:10:13 -07:00
Les Hazlewood 482731ca0c JavaDoc updates 2014-09-19 19:00:39 -07:00
Les Hazlewood 75f1182d17 Initial commit! 2014-09-18 19:14:22 -07:00