Commit Graph

76 Commits

Author SHA1 Message Date
Alexander Kjäll 26a14fd3c3 javadoc typo
Updated the number of bits for the HS512 algorithm in the javadoc comment.
2016-06-13 14:40:35 +02:00
Les Hazlewood 29f980c5c9 coverage improvements. Removed unnecessary line from DefaultClaims 2016-04-17 14:26:28 -07:00
Les Hazlewood e392524919 cherry pick from c62d012cf80341747f3f3aa8b43127cde0ab4dce: javadoc cleanup, compression backwards compatibility change
cherry pick from c62d012cf80341747f3f3aa8b43127cde0ab4dce: javadoc cleanup, compression backwards compatibility change

113: increased code coverage threshold for DefaultJwtParser and DefaultJwtBuilder
2016-04-17 13:51:30 -07:00
Les Hazlewood 3dfae9a31d 109: removed implementation coupling from Clock interface. DefaultClock.INSTANCE achieves the same thing without coupling. 2016-04-01 18:26:59 -07:00
Les Hazlewood 72e0e3b23c 109: enabled injection of a time source - a 'Clock' 2016-04-01 18:15:37 -07:00
Mitchell Morris a20c92c095 create a new Interface "Clock" plus implementations of Clock to exhibit desired behavior 2016-02-23 19:30:20 -06:00
Mitchell Morris 83054a755d allow the injection of a time source 2016-02-23 14:43:32 -06:00
Les Hazlewood 3595423576 #68: ensured branch code coverage 2015-11-21 15:16:42 -08:00
Les Hazlewood 4020dfc1d5 Ensures RSA Signatures can work on Android 23 2015-11-21 15:00:23 -08:00
Micah Silverman 7843179ad5 Improve coverage on compact by exercising JsonProcessingException. 2015-10-27 23:29:06 -04:00
Les Hazlewood 98970a7e19 Changed version references from 0.5.2 to 0.6.0 (no 0.5.2 release yet). 2015-10-12 16:23:21 -07:00
Les Hazlewood 4d230a0725 #58: added toString implementations for JwtMap, DefaultJwt and DefaultJws with tests 2015-10-12 14:17:13 -07:00
Les Hazlewood 0e8ee78fc4 #52: class naming and JavaDoc cleanup 2015-10-12 13:57:36 -07:00
josebarrueta fef553ad72 Issue-52 Improving Javadoc for compression 2015-10-09 18:07:06 -07:00
josebarrueta 269a143899 Merge branch 'Issue-52' of github.com:josebarrueta/jjwt into Issue-52 2015-09-24 16:41:26 -07:00
josebarrueta 257bddc3e2 Merge branch 'master' of github.com:jwtk/jjwt into Issue-52 2015-09-24 16:38:41 -07:00
Jason Erickson 7e15e2de02 Issue-52: Refactoring and adding unit tests to cover the compression functionality 2015-09-23 17:24:47 -07:00
Jason Erickson 806844a89a Issue-52: Refactoring and adding unit tests to cover the compression functionality 2015-09-23 15:44:07 -07:00
Les Hazlewood 4b59e4bf71 Merge pull request #49 from dogeared/issue-42_assert_claims_new
#42 assert claims match required values
2015-09-23 14:48:42 -07:00
Micah Silverman a22a76ad79 Update to javadocs to make more clear. 2015-09-23 17:40:50 -04:00
Micah Silverman 681a3fc0ba Added coverage test for JwtMap. 2015-09-23 17:20:02 -04:00
Micah Silverman 6401727b2a Refactored generic get with required type to handle the official claim types that are dates. Updated javadocs to reflect 'require' language. 2015-09-23 17:03:07 -04:00
josebarrueta 19f6fcaa51 Issue-52 Adding ability to compress/decompress. Added tests for happy path. 2015-09-23 13:21:08 -07:00
Micah Silverman 5d320d22a5 Handled generic require for Date. Added ability to specify required type on get method of claim 2015-09-23 16:17:44 -04:00
Micah Silverman b4015be11e Added in test that does NOT work for custom claim with Date type. 2015-09-23 04:36:57 -04:00
Micah Silverman 2e452a42b1 Added requireExpiration and requireNotBefore 2015-09-23 04:35:14 -04:00
Micah Silverman ddda2f92d3 Renamed all the expect methods to require. 2015-09-23 03:35:41 -04:00
Micah Silverman 72acd649c7 Updated custom Exception javadocs. 2015-09-23 03:25:29 -04:00
Micah Silverman 5dd95b6755 Refactored validateExpectedClaims 2015-09-23 03:18:10 -04:00
Micah Silverman 62ccd16748 Call underlying delegate methods for expected claims. 2015-09-23 01:31:17 -04:00
Micah Silverman 5ecaacde5a Don't allow empty or null claimName or null value for claim expectations. 2015-09-23 01:12:54 -04:00
Micah Silverman f2e620e36b Added expectId convenience method. 2015-09-12 04:05:51 -04:00
Micah Silverman f3c8f10f32 Added expectSubject convenience method. 2015-09-12 04:05:01 -04:00
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
Les Hazlewood 16b970d28e Fixes #35. Also enhanced some test code coverage. 2015-09-09 21:14:59 -07: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