Commit Graph

150 Commits (dynreg-client-check)

Author SHA1 Message Date
William Kim 3eddd58ae4 added unit test for checking expiration date of refreshed tokens. 2013-07-05 15:35:23 -04:00
William Kim 24b24f6fa3 More unit tests for refreshing access tokens--specifically, checking scope processing. 2013-07-05 15:22:45 -04:00
William Kim ed2223cae3 unit tests of exceptions cases for refreshing access tokens. 2013-07-05 12:32:45 -04:00
William Kim 3353b92426 deeper unit tests on access token creation. 2013-07-05 12:03:56 -04:00
William Kim 1528c93acd TestDefaultSystemScopeService unit tests done. 2013-06-25 16:31:45 -04:00
William Kim eca62f2d36 initial commit for TestDefaultSystemScopeService. 2013-06-25 16:31:45 -04:00
William Kim d0dc3c79cb more unit tests for TestDefaultOAuth2ProviderTokenService. 2013-06-25 16:31:45 -04:00
William Kim dc51af5b83 removed testing builder inner class from DefaultOAuth2ProviderTokenService. Also, added more unit tests. 2013-06-25 16:31:45 -04:00
William Kim 5ee7aae5d2 initial commit TestDefaultOAuth2ProviderTokenService. 2013-06-25 16:31:45 -04:00
William Kim abc4f01dde TestDefaultStatsService done. 2013-06-25 16:31:45 -04:00
Justin Richer d6f5ca68bf Added time skew to nonce service test 2013-06-18 15:30:36 -04:00
William Kim 8935a87c23 TestDefaultWhitelistedSiteService done. Removed constructors from DefaultWhitelistedSiteService. 2013-06-18 15:20:06 -04:00
William Kim 5fb1ef3aca Revised test methods for checking for offline_access scope. Previous tests were doing trivial checking. 2013-06-18 15:19:55 -04:00
William Kim 8851f4d037 TestDefaultOAuth2ClientDetailsEntityService done. Removed constructors from DefaultOAuth2ClientDetailsEntityService. 2013-06-18 15:19:55 -04:00
William Kim 701217d98c TestDefaultNonceService done. 2013-06-18 15:19:55 -04:00
William Kim 4ee904cbfd removed setter/getter from DefaultUserInfoUserDetailsService and updated test class with Mockito annotations. 2013-06-18 15:19:46 -04:00
William Kim 5428848627 updated TestDefaultApprovedSiteService to use annotation style Mocking. Allows for removal of injector constructor. 2013-06-18 15:19:46 -04:00
William Kim 01fcb4828d removed test constructors for DefaultBlacklistedSiteService.java. Used annotation method of injecting mock objects into testing class (@InjectMocks). 2013-06-18 15:19:33 -04:00
William Kim 9a3625ae2b made unit test for checking blacklisted sites. Introduced a new constructor to be able to inject repository for testing. 2013-06-18 15:19:33 -04:00
William Kim 1b601abd6f Removed previous constructor from DefaultUserInforUserDetailsService.java and put in getter/setter for UserInfoRepository as a replacement. 2013-06-04 16:58:14 -04:00
Amanda Anganes 3f7fe30f5c Added comments to unit tests 2013-05-31 15:31:54 -04:00
Amanda Anganes a7f2e605fa Added two unit tests using the Mockito framework 2013-05-31 15:04:18 -04:00
Justin Richer 217916603f cleaned out broken unit tests -- now we can start fresh 2013-03-06 09:48:04 -05:00
Justin Richer 5b9422ffdf cleaned up old unit tests 2013-03-04 11:37:49 -05:00
Justin Richer cc727cee3e patched unit test to new format 2013-02-22 12:08:01 -05:00
Justin Richer 46a3e70377 removed idtoken class, removed all jwe/jwt tests 2013-02-22 12:08:01 -05:00
Amanda Anganes 246ed962bb Added stub of repository test 2013-01-04 15:30:24 -05:00
Amanda Anganes c40efda6b5 Refactor part 1 2012-09-18 14:24:34 -04:00
Justin Richer a4a40ffae5 unit test for x509 endpoint 2012-09-12 14:14:15 -04:00
Justin Richer 51b8dbe065 Revert "updated jwtHeader typ to use an enum" -- set things back to using a string
This reverts commit 3b2268c622.
2012-08-02 14:16:55 -04:00
Mike Derryberry 3b2268c622 updated jwtHeader typ to use an enum 2012-07-31 11:29:48 -04:00
Justin Richer d07667576e cleaned up old code 2012-07-30 16:50:44 -04:00
Justin Richer c80f7f1fcd removed keystore dependency where it is not needed 2012-07-30 14:58:29 -04:00
Justin Richer 319568d971 refactored JWA algorithm markers to use enum instead of string as stored class 2012-07-23 20:21:31 -04:00
Justin Richer 165f3ea292 fixed some unit tests, broke others 2012-07-23 18:44:47 -04:00
Amanda Anganes 8abbce3a2d fixed broken unit tests - they were pointing to the wrong spring context file; 2012-07-06 14:22:06 -04:00
Mike Derryberry 65dc3daaf8 smart client 2012-06-12 16:09:01 -04:00
Justin Richer 8e33a17307 moved DB schema files up a few levels, fixed test context to point to new locations 2012-06-05 11:32:51 -04:00
Justin Richer 97dffb6414 added copyright to all java files. closes #11 2012-04-27 17:55:58 -04:00
Amanda Anganes 2e4f312f79 Fixed tests - they were pointing to the wrong context file. 2012-04-18 10:55:28 -04:00
nemonik d056079fea Support for ECDSA JWT signer was removed as it would require the system-wide installation and configuration of the Bouncy Castle Security Provider in order for the server to work when deployed to Tomcat. See issue ticket #20 2012-04-10 13:41:18 -04:00
Justin Richer eabc49cb01 fixed documentation, included python source to generate signature 2012-04-09 10:52:17 -04:00
Justin Richer c21607dcbe fixed hmac unit test after signature base string was fixed in underlying code 2012-04-09 10:48:02 -04:00
nemonik 6c8661f3ad the signature base created in the verify method of the AbstractJwtSigner did not match how the Jwt.getSignatureBase creates the signature base. also, modified the testGenerateHmacSignature to exercise 2012-04-02 22:12:03 -04:00
nemonik 267f1b2de3 bas64 decoded signature prior to verifying, modified unit rsa unit test, and fixed ecdsa signer verify 2012-04-02 21:32:42 -04:00
Justin Richer 3dfe6df410 refactored algorithms out to their own separate Enum 2012-04-02 13:13:13 -04:00
nemonik 0a29eba617 unit test correction, slight refactor of tested classes 2012-03-29 14:02:51 -04:00
nemonik 1209e9a83f fix to JwtTest unit test 2012-03-29 12:54:03 -04:00
Justin Richer d5e7000365 disabled custom namespace parsers for keystores 2012-03-22 13:39:51 -04:00
Justin Richer a0cdd8bf2f moved server to new package location 2012-03-16 15:01:53 -04:00