Commit Graph

596 Commits

Author SHA1 Message Date
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 56fb2c6a75 Updated example to use parseClaimsJws to reflect most common use case 2015-09-11 11:28:43 -07:00
Les Hazlewood 947bcd5c67 Merge pull request #45 from jwtk/digest-comparison
Fixes #35.  Also enhanced some test code coverage.
2015-09-09 21:25:01 -07:00
Les Hazlewood 16b970d28e Fixes #35. Also enhanced some test code coverage. 2015-09-09 21:14:59 -07:00
Les Hazlewood 5c8c5ef97a Merge pull request #44 from dogeared/JwtSemicolonFix
Got rid of semicolons in JwtParserTest to make it consistent throughout.
2015-09-09 20:31:27 -07:00
Micah Silverman bdb7597f0a Got rid of semicolons in JwtParserTest to make it consistent throughout. 2015-09-09 23:22:17 -04:00
Les Hazlewood 335e85f6ee Merge pull request #43 from dogeared/JwtParserTestFix
Jwt parser test fix
2015-09-09 20:18:49 -07: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
Les Hazlewood 46a3c1376e Merge pull request #41 from josebarrueta/Issue-34
Issue-34 getting rid of slf4j.
2015-08-26 17:18:04 -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
brentstormpath de817222bc Licensing, links, and Author info added to readme 2015-07-31 17:40:35 -07:00
Les Hazlewood 6c2c90ad23 [maven-release-plugin] prepare for next development iteration 2015-06-26 13:43:50 -07:00
Les Hazlewood 3373641dcd [maven-release-plugin] prepare release 0.5.1 2015-06-26 13:43:46 -07:00
Les Hazlewood c92b7d2cfa #31: prepping for maven release build 2015-06-26 13:41:57 -07:00
Les Hazlewood e5147b0cf9 #31: updated release notes to reflect upcoming 0.5.1 release 2015-06-26 13:38:51 -07:00
Les Hazlewood 9689900f6f Merge pull request #32 from jwtk/base64padding
#31: fixed base64 url padding bug
2015-06-26 11:50:56 -07:00
Les Hazlewood 4d2080b369 #31: fixed base64 url padding bug 2015-06-26 11:34:33 -07:00
Les Hazlewood dac9ee66af Minor syntax correction 2015-05-13 13:04:11 -07:00
Les Hazlewood 2ba41678f6 [maven-release-plugin] prepare for next development iteration 2015-05-12 19:19:25 -07:00
Les Hazlewood f3858803ca [maven-release-plugin] prepare release 0.5 2015-05-12 19:19:20 -07:00
Les Hazlewood 4204d16f07 Removed coverage statement as 3 classes were found to not hit that mark yet. Will be updated on a future release. 2015-05-12 19:06:18 -07:00
Les Hazlewood 8085f19cb1 Readme and JavaDoc updates for the upcoming 0.5 release 2015-05-12 18:58:25 -07:00
Les Hazlewood 027b3518ab Readme and JavaDoc updates for the upcoming 0.5 release 2015-05-12 18:55:15 -07:00
Les Hazlewood 754b87a8a4 Readme and JavaDoc updates for the upcoming 0.5 release 2015-05-12 18:51:59 -07:00
Les Hazlewood 04865163c9 Readme and JavaDoc updates for the upcoming 0.5 release 2015-05-12 18:50:40 -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 078dbaa9c2 Merge pull request #29 from jwtk/android
Android + Better test coverage.
2015-05-12 17:09:06 -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