Commit Graph

855 Commits (eab45635510a556dbf180ab9b3fe15b2376d1316)

Author SHA1 Message Date
Justin Richer 8831bc64a2 offline -> offline_access (addresses #248) 2013-01-18 18:03:39 -05:00
Justin Richer 27a26e0a35 (user_id/prn) -> sub 2013-01-18 16:40:05 -05:00
Justin Richer 1ab29882b4 fixed user prepoulation table 2013-01-18 15:38:53 -05:00
Justin Richer 0ab4ad4bbe added "birthdate", addresses #253 2013-01-18 15:38:41 -05:00
Justin Richer 6ef4dc817e genericized nimbus code, added caching 2013-01-18 15:10:48 -05:00
Justin Richer 2d21a72e7e switched to nimbus to check JWT signature 2013-01-18 15:10:48 -05:00
Justin Richer 60bda31c54 updated custom filter 2013-01-18 15:10:48 -05:00
Justin Richer c17bc05b0e wiring configuration 2013-01-18 15:10:48 -05:00
Justin Richer 4262be1fd3 added jwt processing to client auth provider 2013-01-18 15:06:00 -05:00
Justin Richer abd64eccd6 added framework for processing assertions for client auth 2013-01-18 15:06:00 -05:00
Amanda Anganes ad5e77f7ff Made nonce storage duration configurable in application-context.xml; 2013-01-10 10:34:40 -05:00
Amanda Anganes 59f1b1f05e Testing, nonce handling seems to be working now 2013-01-07 13:28:30 -05:00
Amanda Anganes a1a117cfde Added default constructor to ConnectAuthorizationRequestManager 2013-01-07 10:54:33 -05:00
Amanda Anganes af81e371fb Updated application-context to use new authorization request manager 2013-01-07 10:46:55 -05:00
Amanda Anganes 77b932f5a7 Added implementation of AuthorizationRequestManager. Nonce checking will go in here 2013-01-04 15:30:24 -05:00
Amanda Anganes 1af6513499 Removed nonce checking from token service impl 2013-01-04 15:30:24 -05:00
Amanda Anganes 7e7b2527db Added nonce to persistence.xml 2013-01-04 15:30:24 -05:00
Amanda Anganes 246ed962bb Added stub of repository test 2013-01-04 15:30:24 -05:00
Amanda Anganes e1dffb959c Added NonceReuseException 2013-01-04 15:30:24 -05:00
Amanda Anganes 8f8a3754db Added database tables for Nonce 2013-01-04 15:30:24 -05:00
Amanda Anganes a4637ec395 Fleshed out nonce service classes, added code to token service impl to check for and store nonces. Added JodaTime library for working with dates. 2013-01-04 15:30:24 -05:00
Amanda Anganes c7ae315e98 Added initial files for nonce service. Repository and service impls are stubs 2013-01-04 15:30:24 -05:00
Justin Richer cbcfe55bb9 added introspection flag to client bootstrap 2013-01-02 14:16:31 -05:00
Justin Richer 4068952a81 fixed well size, added comment 2013-01-02 10:19:55 -05:00
Justin Richer 655092a12b added introspection checkbox, added access tab
Signed-off-by: Justin Richer <jricher@mitre.org>
2012-12-21 16:38:52 -05:00
Justin Richer 9a1b2d7fac made client edit page tabbable (that was seriously easy) 2012-12-21 16:26:34 -05:00
Justin Richer 48866c15f2 button display cleanup 2012-12-21 16:07:59 -05:00
Justin Richer a85b1f5d74 split approved sites into two tables 2012-12-21 15:35:33 -05:00
Justin Richer 198a45369a buttonsize tweak 2012-12-21 15:03:45 -05:00
Justin Richer f12efc1b80 added dynreg caution block 2012-12-21 14:48:15 -05:00
Justin Richer 231e81a426 updated icons 2012-12-21 14:28:07 -05:00
Justin Richer 797d521691 cleaned up logged-in button 2012-12-21 13:04:33 -05:00
Justin Richer 7ebbe3acc4 removed mockups 2012-12-21 11:01:22 -05:00
Justin Richer 7459767646 fixed validation problem with new backbone 2012-12-20 17:46:34 -05:00
Justin Richer 37bca0d5fb cleaned out backbone validation plugin 2012-12-20 17:31:22 -05:00
Justin Richer 9dd54d47bb updated versions of backbone and underscore 2012-12-20 17:31:08 -05:00
Justin Richer e0672757bf update to bootstrap 2.2.2 2012-12-20 12:44:02 -05:00
Justin Richer 8ad28b41aa fixing CSS and collapsing headerbar 2012-12-20 12:35:30 -05:00
Justin Richer 67a682d53a added default router to backbone app 2012-12-18 13:56:57 -05:00
Justin Richer 87788f0710 let users visit home page without logging in 2012-12-18 13:56:46 -05:00
Justin Richer f265347311 tweaked error messages 2012-12-18 12:08:36 -05:00
Justin Richer 18ddd8333f added flag to allow introspection, relaxed same-client restrictions on introspection and chained tokens 2012-12-18 11:07:24 -05:00
Justin Richer 6eabc895b9 moved database file to a reasonable name 2012-12-17 13:45:39 -05:00
Justin Richer 1f53f41648 generic entity view now takes optional HttpStatus argument 2012-12-14 17:35:21 -05:00
Justin Richer a3790f943e cleaned up introspection endpoint to use exceptions 2012-12-14 17:35:20 -05:00
Justin Richer e5206f2b92 implemented jwt assertions for id tokens 2012-12-14 17:35:20 -05:00
Justin Richer 51b67ebc03 added queries to get access token from id token 2012-12-14 17:35:20 -05:00
Justin Richer 1853bd7117 added assertion token granter 2012-12-14 17:35:20 -05:00
Justin Richer 0d6c96f410 moved JPA adapter to data-context, addresses #242 2012-12-14 09:43:42 -05:00
Justin Richer 2a74be5baf bringing mysql tables up to date 2012-12-13 16:54:21 -05:00
Justin Richer 2c104a71e2 cleaned up mysql table 2012-12-13 16:04:45 -05:00
Justin Richer cda6163d0d null and blank handling 2012-12-12 12:29:14 -05:00
Justin Richer 06fad3a41c moved view for client API 2012-12-11 15:19:11 -05:00
Justin Richer 6344a72519 missed a few applicationName references, fixed API JSON rendering 2012-12-11 15:16:18 -05:00
Justin Richer dfd8e9c7c7 removed unused view 2012-12-11 15:15:52 -05:00
Justin Richer dd04df6a22 fixed javascript bugs 2012-12-11 14:08:10 -05:00
Justin Richer f12d3c7d30 fixed variable reference 2012-12-11 13:37:14 -05:00
Justin Richer 920777128d switched to uncompressed jquery 2012-12-11 13:29:19 -05:00
Justin Richer 829c8ae5f4 tweaked functionality of grant types and scopes 2012-12-11 13:16:33 -05:00
Justin Richer cc36851bdd propagated field name change to UI 2012-12-11 12:38:55 -05:00
Justin Richer 179903b074 propagated client changes to service 2012-12-11 12:31:01 -05:00
Justin Richer 2f7891d02c updated mysql table to new schema 2012-12-11 12:27:24 -05:00
Justin Richer bcfa37040e missed one 2012-12-11 12:18:51 -05:00
Justin Richer 33ceedb283 added scope and grant_type, switched to timeunit 2012-12-11 12:11:09 -05:00
Justin Richer e2bc15c2b2 beginning of client registration refactor to track IETF dynreg spec 2012-12-10 17:36:33 -05:00
Justin Richer 94c37f5815 added redelegate scope to client list, fixed inconsistency with refresh token issuance (addresses #239) 2012-12-10 16:53:05 -05:00
Justin Richer 510ddb48b7 override the correct part of the token granter class 2012-12-10 15:54:37 -05:00
Justin Richer bdcc6af096 temporary sanity check for client ID's 2012-12-10 11:40:03 -05:00
Justin Richer cab0839430 added workarounds for quirks in SECOAUTH 2012-12-10 11:27:28 -05:00
Justin Richer edc96d646c added chained token grant 2012-12-10 10:48:38 -05:00
Justin Richer 54708fb0ac fixed id token scopes (shouldn't inherit from parent token) 2012-12-10 10:11:02 -05:00
Justin Richer 2a206654b6 added client credential protection to revocation endpoint 2012-12-07 17:17:19 -05:00
Justin Richer e38b2b0ba5 shortened revocation endpoint url 2012-12-07 17:16:03 -05:00
Justin Richer fbc3c46128 Introspection now draft spec compliant, requires client auth
Currently this is the client that originally sent the token, we want to have a way to bind other "clients" to this token as well, like resource services. Also want to let open calls, sometimes.
2012-12-07 17:12:13 -05:00
Justin Richer 544e3d7b43 added copy constructors because Dave likes to use unmodifiable sets for no apparent reason 2012-12-07 10:06:10 -05:00
Justin Richer 64ef752f08 added refresh token granter for testing 2012-12-07 09:56:43 -05:00
Justin Richer 7561ac9e8c client dynamic registration now protected by access token, addresses #199 2012-12-06 17:48:23 -05:00
Justin Richer 7342da6a51 completed making id tokens into access tokens 2012-12-06 16:24:04 -05:00
Justin Richer e4f9fa2bbf labeled introspection endpoint 2012-12-06 16:19:25 -05:00
Justin Richer 17374a57e0 added ISO date format to generic entity view, addresses #232 2012-12-06 16:15:14 -05:00
Justin Richer 3378cd5c4c cleaned table 2012-12-06 14:24:38 -05:00
Justin Richer b8f701d9d8 switched id tokens to entities, they're now access tokens also
still needs some work to get the auth object right, for now we're just copying from the access token
2012-12-06 10:19:21 -05:00
Justin Richer 2ef8d16e9c typo, formatting 2012-12-05 15:49:50 -05:00
Justin Richer ba7ddf17f9 added bootstrapping for clients, cleaned up sql files 2012-12-05 15:04:14 -05:00
Justin Richer cf7ceb74f3 betterer logout button 2012-12-04 16:40:28 -05:00
Justin Richer 2f1a6864b8 made a better logout button 2012-12-04 16:37:57 -05:00
Justin Richer 838e029db1 added logout button 2012-12-04 16:18:58 -05:00
Justin Richer d7d9e84e70 fixed user_id mapping 2012-12-04 16:18:37 -05:00
Justin Richer f091343d84 moved back to in-memory database by default 2012-12-04 15:56:03 -05:00
Justin Richer 49e216412e Added bootstrapped users set. 2012-12-04 15:51:10 -05:00
Justin Richer dcc56ec9dd temporary tables to prevent casts from leaking 2012-12-04 14:38:08 -05:00
Justin Richer 8b37011244 added casts to varchar to avoid extraneous spaces 2012-12-04 13:35:40 -05:00
Justin Richer e305d3b16b Making stable in-memory and in-file database with HSQL 2012-12-03 17:53:25 -05:00
Justin Richer 061c0f0814 minor cleanup 2012-12-03 16:10:07 -05:00
Stephen Moore 250432ce7f Added information into the user_info table 2012-12-03 14:56:40 -05:00
Stephen Moore 1bcaa68cb4 Added user_info stuff... and changed serverconfig for issuer... 2012-12-03 14:56:40 -05:00
Stephen Moore 47b34d2b1b Added blacklist table to HSQLDB sql script 2012-12-03 14:56:40 -05:00
Stephen Moore 4fdb0816eb Moved DB to use in memory HSQLDB. Made authentication-provider use a jdbc-user-service in that in-memory hsqldb. 2012-12-03 14:56:40 -05:00
Justin Richer fce47c239a added slashes to patterns what needed them, removed vestigial intercept from user-context 2012-11-26 16:23:46 -05:00
Justin Richer 122a2de074 First attempt at making API not redirect to /login, failed 2012-11-26 16:05:46 -05:00
Justin Richer d07f67bd76 let user select when grants time out 2012-11-26 14:26:07 -05:00
Justin Richer 84401531ae tie refresh token generation to "offline" scope tag 2012-11-26 13:16:19 -05:00
Justin Richer 50040a8ef4 fixed checkbox labels 2012-11-26 12:57:49 -05:00
Justin Richer 667c3abc8a dynamic scope display/selection on approval page 2012-11-26 11:53:19 -05:00
Justin Richer 1281d75aa9 stopped re-parsing scopes 2012-11-26 11:53:19 -05:00
Justin Richer 9c3a40779b updated to SECOAUTH's horrible new object-breaking authorization request paradigm.
Bonus: it works!
2012-11-26 11:53:19 -05:00
Justin Richer 3e327b9df6 reverted to original controller behavior 2012-11-26 11:53:19 -05:00
Justin Richer cf4581a5eb updated configuration to reflect secoauth changes 2012-11-26 11:53:19 -05:00
Justin Richer 45ca4e565e updated to SECOAUTH-1.0.1-BUILD-SNAPSHOT 2012-11-26 11:53:19 -05:00
Amanda Anganes cf1ddf0457 Determined that init binder was not needed to fix default for Boolean require_auth_time; instead use defaultValue=\"true\" in the RequestParam declaration. Also fixed bug in ClientDetails service so that it will not blow up if the client has no redirect uris registered 2012-11-21 15:39:07 -05:00
Amanda Anganes 2084639828 Working on init binder for ClientDynamicRegistrationEndpoint 2012-11-21 14:54:24 -05:00
Amanda Anganes 8b0c520534 Issue 213, writing init binder to convert null Boolean values to false before calling setters 2012-11-21 14:53:41 -05:00
Justin Richer a2a29e7b76 trying out new confirmation controller 2012-11-21 10:00:35 -05:00
Justin Richer d9b6918bc2 softened error from scope checker -- returns false now, allows things to pass through 2012-11-20 14:08:18 -05:00
Justin Richer 9c08944a02 Changed arity on approved sites (now can have many per user/site combo) 2012-11-20 14:07:55 -05:00
Justin Richer 58b97f7371 stupid javascript 2012-11-20 13:16:08 -05:00
Justin Richer fda86e23e9 moved everything to use the consumes/produces framework of Spring 3.1 2012-11-20 13:12:21 -05:00
Justin Richer 51920ee381 switched to using "uneditable-input" classes instead of disabled input fields 2012-11-19 16:32:04 -05:00
Justin Richer e303319701 got rid of postrender 2012-11-19 16:13:49 -05:00
Justin Richer 5b0c17c5de added in checks to blacklist service upon client registration and update 2012-11-19 14:10:55 -05:00
Justin Richer 7a6c96a759 fixed links 2012-11-19 14:10:37 -05:00
Justin Richer e9d1ed270d service layer cleanups 2012-11-19 13:46:09 -05:00
Justin Richer 4e18fb4525 blacklist management UI 2012-11-19 13:01:16 -05:00
Justin Richer d576df4b31 fixed render length limits on list widget 2012-11-19 11:52:30 -05:00
Justin Richer 757e21a722 added blacklist API 2012-11-16 11:57:46 -05:00
Justin Richer 1f4b97bc7e fixed icon and variable reference 2012-11-16 10:14:28 -05:00
Justin Richer e86f19bd7c added dynamic icons to whitelist table 2012-11-15 17:53:38 -05:00
Justin Richer 2beff07d4b added icons and tooltips to approved site table 2012-11-15 17:51:31 -05:00
Justin Richer 20b73ea0c4 tooltip works! 2012-11-15 17:46:13 -05:00
Justin Richer 8ecdb8a4ab added icon to template, popover doesn't work yet 2012-11-15 17:41:00 -05:00
Justin Richer 9064b49a54 added refresh buttons to all tables, fixed loading behavior to a proper cascading function call 2012-11-15 16:55:51 -05:00
Justin Richer a88ae8258a Updated plus and minus buttons in list views, addresses #202 2012-11-15 16:35:17 -05:00
Justin Richer f9aafb5edd approved sites UI 2012-11-15 14:50:30 -05:00
Justin Richer f4605ef2fc cleaned out startAfter function 2012-11-15 12:18:47 -05:00
Justin Richer 845c11ad3a methods for creating, editing, and deleting whitelist sites all function 2012-11-14 17:08:58 -05:00
Justin Richer 321172c40c fixed load/fetch order, fixed edit form display, robustified whitelist views against missing client IDs 2012-11-14 16:30:10 -05:00
Justin Richer f39c254353 updated variables for consistency, tracking down a data-loading bug 2012-11-14 15:21:41 -05:00
Justin Richer 51cfe1746d whitelist editing 2012-11-14 15:20:32 -05:00
Justin Richer bb589fc29a fixed logic error in script inclusion 2012-11-13 18:05:15 -05:00
Justin Richer cccbad2ca1 added whitelist button to table view 2012-11-13 17:55:29 -05:00
Justin Richer 7a9d7e6363 Fixed sidebar menu 2012-11-13 17:13:20 -05:00
Justin Richer 7b1a2529dc added whitelist model and template 2012-11-13 17:11:09 -05:00
Justin Richer ee0fe4a9d3 applied placeholder CSS hack to header CSS 2012-11-13 15:35:01 -05:00
Justin Richer 86ebdff82b Revert "Placeholder UI updates"
This reverts commit fd89312b0c.
2012-11-13 15:08:22 -05:00
Justin Richer 030e2ce2df fixed link scanner 2012-11-13 15:06:09 -05:00
Justin Richer 706858c41f added comments, fixed paths, uncommented logo hide function 2012-11-13 13:27:57 -05:00
Justin Richer f2e1317365 added purl.js library for URL parsing 2012-11-13 13:12:15 -05:00
Justin Richer 33f11cb98f cleanly applied pushstate changes, new URL structure 2012-11-13 13:10:34 -05:00
Justin Richer 1d8254bf2f changed target of approve form 2012-10-24 15:06:56 -04:00
Michael Jett be506ae952 Moved fonts local, fixed loading indicator 2012-09-25 13:37:36 -04:00
Michael Jett 84cedbb45e Support the "Enter" key on list widget 2012-09-25 13:24:38 -04:00
Michael Jett 8fc6b2b680 Removing the rest of Justin's load hack 2012-09-25 13:18:31 -04:00
Michael Jett fd89312b0c Placeholder UI updates 2012-09-25 12:52:55 -04:00
Michael Jett 48941f1713 Dynamic JS loading and UI updates 2012-09-25 12:52:54 -04:00
Michael Jett 2311cdf1f2 Revert "Dynamic Client Loading Initial Commit"
This reverts commit a4e5335eda02cdb6b32a966d194035429ca52915.
2012-09-25 12:52:52 -04:00
Michael Jett d7455dba14 Dynamic Client Loading Initial Commit 2012-09-25 12:52:51 -04:00
Amanda Anganes 29862f15bd Removed a bunch of commented-out configuration 2012-09-18 15:21:55 -04:00
Amanda Anganes 51073a7f8d Refactor part 3 2012-09-18 15:01:05 -04:00
Amanda Anganes ef80676dc1 Cleaned up web package a bit - lots of unused imports and variables 2012-09-18 14:39:07 -04:00
Amanda Anganes dd2abd94d1 Refactoring part 2 2012-09-18 14:36:27 -04:00
Amanda Anganes c40efda6b5 Refactor part 1 2012-09-18 14:24:34 -04:00
Justin Richer 0b6aebfefe Revert "removed postrender function, use render function instead"
This reverts commit 2b1e78d195.
2012-09-13 11:27:50 -04:00
Justin Richer ebf77bea68 Updated timeout functions 2012-09-13 11:24:48 -04:00
Justin Richer 6fdd088125 Updated client secret panel display 2012-09-13 11:24:29 -04:00
Justin Richer be17133a99 Changed "submit" label to "save" 2012-09-13 11:02:53 -04:00
Justin Richer 2b1e78d195 removed postrender function, use render function instead 2012-09-13 10:33:52 -04:00
Justin Richer ece1b56095 added missing brackets 2012-09-13 10:33:52 -04:00
Justin Richer fe3e890bb3 changed to table head for input control 2012-09-13 10:33:52 -04:00
Justin Richer d8221a2a35 added missing semicolon 2012-09-13 10:33:52 -04:00
Justin Richer ed75b38ecc changed list view table styling 2012-09-13 10:33:52 -04:00
Justin Richer a4a40ffae5 unit test for x509 endpoint 2012-09-12 14:14:15 -04:00
Michael Jett d9771f2322 Timout Bugfixes 2012-09-12 13:55:30 -04:00
Michael Jett 26c3cf5989 Timout UI refactor 2012-09-12 13:48:01 -04:00
Michael Jett 19df5ae032 Timeout form updates. Logo URL updates 2012-09-11 15:06:20 -04:00
Michael Jett cb6767dfb4 Timout form updates 2012-09-11 15:06:17 -04:00
Justin Richer a9d1799eda added getter/setter to UIE schema-to-view map 2012-09-11 12:44:47 -04:00
Justin Richer 920b2a59ba Fixed error logging 2012-09-10 17:17:03 -04:00
Justin Richer 2d24435365 Created custom resolver, handler mapper
moved endpoint back to server
2012-09-10 17:17:03 -04:00
Justin Richer 7eb0a6f3d2 Moved JWK to commons 2012-09-10 17:17:03 -04:00
Amanda Anganes f3c225d8f2 Updated SECOAUTH reference, made required alterations to our configuration 2012-09-07 16:08:15 -04:00
Stephen Moore ea16f4e2b6 Fixed merge weirdness 2012-09-07 14:09:10 -04:00
Stephen Moore b58ed8b616 Added logoURL stuff 2012-09-07 13:51:58 -04:00
Amanda Anganes 61b828e182 Fixed bug - removed service layer @Transactional annotations, which negated need for flush at repository level; moved @Transactional annotations. 2012-09-04 17:53:02 -04:00
Michael Jett c8f9a3de76 Merge remote-tracking branch 'origin/UI-form-updates' 2012-09-04 13:25:16 -04:00
Justin Richer ee7a5fd2e1 added registration URL to discovery endpoint 2012-08-30 17:18:36 -04:00
Michael Jett 332fe282be List Widget UI values cannot be null 2012-08-29 14:40:23 -04:00
Michael Jett fe837c4fa5 comment edit 2012-08-29 13:56:10 -04:00
Michael Jett 4fcbbe639f visual error indicators for redirect uri and scope 2012-08-29 13:54:04 -04:00
Michael Jett 15359a236a Scope UI Auto-complete 2012-08-29 13:36:46 -04:00
Justin Richer 11b35267b4 Refactored stats processor into a service, made home page into a smart page. 2012-08-28 17:42:43 -04:00
Michael Jett 85e13bd11d Initial Scope UI updates 2012-08-28 15:59:03 -04:00
Justin Richer bc0ee4cbab force id consistency 2012-08-28 15:28:55 -04:00
Justin Richer 8876217baf Added cleanups to client service 2012-08-28 15:28:55 -04:00
Justin Richer d041ddb0e1 Added approvedSite API and support structure 2012-08-28 15:28:55 -04:00
Justin Richer 2bf5cfc041 service bug fix 2012-08-28 15:28:55 -04:00
Justin Richer b462d6dd96 added empty http code view 2012-08-28 15:28:55 -04:00
Justin Richer 8ae1b376fe updated whitelist service and repository 2012-08-28 15:28:55 -04:00
Justin Richer 6a180acf3c added preliminary whitelist api 2012-08-28 15:28:55 -04:00
Michael Jett 59e2f0e127 Backbone List View Widget Initial Commit 2012-08-28 12:49:33 -04:00
Justin Richer 4af3dd89be cleaned up client api 2012-08-28 12:29:59 -04:00
Justin Richer 72c125ba64 refactored binder into two parts 2012-08-28 12:29:33 -04:00
Justin Richer be54696603 Generic GSON entity printer 2012-08-28 12:29:10 -04:00
Michael Jett 0aa6da67de Bootstrap JS Upgrade 2012-08-28 12:03:08 -04:00
Michael Jett 306e07bc36 UI Dynamic List updates 2012-08-27 23:46:06 -04:00
Michael Jett 5377a2bac4 Redirect URI UI updates 2012-08-27 17:12:02 -04:00
Justin Richer 0b1bb4f8aa call the right service api 2012-08-27 16:57:52 -04:00
Justin Richer 407c14d0dc added missing bean annotation 2012-08-27 16:52:00 -04:00
Justin Richer 3e423e9e04 explicitly exposed registration url 2012-08-27 16:46:58 -04:00
Justin Richer a674589db0 added client editing capability 2012-08-27 16:46:45 -04:00
Justin Richer a45c8bf96d upped default client secret strength 2012-08-27 16:46:25 -04:00
Justin Richer e39dcb63dd added views, fixed registration for SECOAUTH required parameter 2012-08-27 16:25:43 -04:00
Michael Jett d8037c0513 Redirect URL UI initial commit 2012-08-27 16:17:22 -04:00
Justin Richer 83873f8ae2 added defaults for SECOAUTH 2012-08-27 16:09:01 -04:00
Justin Richer 9f84126cb8 more dynamic registration 2012-08-27 16:00:47 -04:00
Justin Richer aeb6644d38 exploded version of attribute binding/processing 2012-08-27 14:47:04 -04:00
Justin Richer e4470c9361 mapped the invalid scope exception, addresses #102
Still can't access userinfo if you're not using OAuth2
2012-08-27 13:28:54 -04:00
Justin Richer 259e84c871 put null check into interceptor, addresses #183 2012-08-27 11:55:06 -04:00
Michael Jett 8361f74932 removed innocuous change 2012-08-24 16:00:58 -04:00
Michael Jett 42287edc9b junk comentt showwhich brnach we'ron 2012-08-24 15:27:39 -04:00
Michael Jett a61d94e07e Cancel buttons on client forms 2012-08-24 14:32:13 -04:00
Michael Jett 149080f776 Breadcrumbs are now fully dynamic. 2012-08-24 12:57:10 -04:00
Justin Richer 37d6d63772 inject userinfo into context for use in JSPs
addresses #99 (for real this time)
2012-08-23 18:23:52 -04:00
Justin Richer b5ce8d5e8b added getByUsername to userinfo repositories and supporting classes, updated calling classes to use this
fixed namedquery
2012-08-23 18:23:47 -04:00
Michael Jett 6cb0269629 Merge remote branch 'origin/master' 2012-08-23 18:08:13 -04:00
Michael Jett dc1f1965af Refactoring breadcrumbs. The breadcrumb bar will disappear momentarily. 2012-08-23 18:07:22 -04:00
Amanda Anganes ba5572b28a Tidied up a bit, added javadoc comments to new classes 2012-08-23 11:05:10 -04:00
Amanda Anganes c23b176567 Database backed authorization-code-service now works. 2012-08-23 10:46:08 -04:00
Amanda Anganes 4b76cc514b Added a database-backed authorization-code system. Untested; needs to be injected into configuration in the place of the in-memory one and tested 2012-08-22 16:54:00 -04:00
Justin Richer e5b62e8935 fixed patterns and expressions on http blocks 2012-08-21 14:02:35 -04:00
Justin Richer 9eb328831f changed to proper prefix 2012-08-21 13:55:47 -04:00
Stephen Moore af01e26e10 Split up permitAll on enpoints 2012-08-21 12:54:55 -04:00
Stephen Moore d2f7e8edf9 Moved SPEL to app-context, and added enpoint permitAlls 2012-08-21 12:53:48 -04:00
Justin Richer bdfdbbadbc stats summary, addresses #62 2012-08-21 12:20:05 -04:00
Justin Richer 6cb7e74046 updated default handling to user proper backbone model handling 2012-08-20 16:49:39 -04:00
Justin Richer 74b4fab58c Client secret processing 2012-08-20 16:06:12 -04:00
Justin Richer 05fa7b148c added checks for generated client secret 2012-08-20 12:23:02 -04:00
Justin Richer 9e60da2675 added controls for client secret processing 2012-08-20 12:22:38 -04:00
Justin Richer a02f37cec3 added generators to client service API 2012-08-20 12:22:18 -04:00
Justin Richer 8520fcbf72 removed deprecated granted authority reference 2012-08-17 14:40:13 -04:00
Justin Richer a65504c0cb added new exception for userinfo, addresses #133 2012-08-15 16:02:06 -04:00
Justin Richer 209fc2d249 refactored request object endpoint to avoid urlspace conflict with SECOAUTH 2012-08-15 12:06:37 -04:00
Mike Derryberry d1218efb2a cleaned up imports 2012-08-14 10:55:08 -04:00
Mike Derryberry 55e7a4d707 moved request object auth endpoint in project setup 2012-08-14 10:55:08 -04:00
Mike Derryberry ec286b9644 removed auth bean from application-context. Added extra parameter checks in request object auth endpoint 2012-08-14 10:55:08 -04:00
Mike Derryberry 04d8faa90a updated autowired annotation 2012-08-14 10:55:08 -04:00
Mike Derryberry 20a7ebc576 autowired all member variables in request object auth endpoint 2012-08-14 10:55:08 -04:00
Mike Derryberry 694074ee58 moved endpoint, added param processing 2012-08-14 10:55:08 -04:00
Mike Derryberry 36b9c805d9 added reference to abstract endpoint class to get token granter 2012-08-14 10:55:08 -04:00
Mike Derryberry 2bdbb283b7 removed dependency on abstract endpoint class. added methods needed to authRequestObjectEndpoint (afterPropertiesSet()) 2012-08-14 10:55:08 -04:00
Mike Derryberry 51ec529861 readded implementation of initializingBean 2012-08-14 10:55:08 -04:00
Mike Derryberry 638ebf2010 cleaned up AuthRequestObjectEndpoint class 2012-08-14 10:55:08 -04:00
Mike Derryberry d93f5f18e5 added state value to jwt that gets passed as request object. certain methods from SECOAUTH use this 2012-08-14 10:55:08 -04:00
Mike Derryberry 3486ea28f1 updated mimicked methods to not use jwt, but rather a jwt in an auth request 2012-08-14 10:55:08 -04:00
Mike Derryberry 1a20dcbc6e added methods that mimic behavior of private SECOATH methods 2012-08-14 10:55:08 -04:00
Mike Derryberry d5caa0b543 changed server endpoint to act like an endpoint. WIP to accept request objects, validate, and redirect 2012-08-14 10:55:08 -04:00
Mike Derryberry 7d6211afd7 cleaned up some imports, added serverEndpointRequest class 2012-08-14 10:55:08 -04:00
Mike Derryberry 28344a3c91 auth endpoint got into client code. removed 2012-08-14 10:55:08 -04:00
Mike Derryberry 2888c08083 changed cookie claim to include the response 2012-08-14 10:55:07 -04:00
Justin Richer c0a61fe47a moved jquery to page header instead of footer, added focus call on login form 2012-08-14 10:48:38 -04:00
Justin Richer 484abc4915 fixed client delete 2012-08-10 17:24:21 -04:00
Michael Jett 5e898a7b0b Id toke timeout binding for UI 2012-08-10 17:20:23 -04:00
Michael Jett aaa38a761d Mis-type for client secret 2012-08-10 17:18:43 -04:00
Michael Jett b99d2ed9dc Client Id null fix 2012-08-10 17:15:35 -04:00
Michael Jett 935b5ed43a Client Id is now editable 2012-08-10 17:11:13 -04:00
Michael Jett 0f9d4ef255 Id refactor UI 2012-08-10 17:05:28 -04:00
Justin Richer 155974d8e3 moved services and api over to using new client Id field (instead of client_id) 2012-08-10 16:53:31 -04:00
Justin Richer eb5a24690f added method to get client by its (new) Long id 2012-08-10 16:29:16 -04:00
Michael Jett 480fb8e593 Id refactor UI 2012-08-10 16:26:54 -04:00
Michael Jett ae5e1ca859 Merge remote branch 'origin/master' 2012-08-10 16:12:54 -04:00
Michael Jett 3f9e2cfa52 Horizontal UI refactor 2012-08-10 15:29:11 -04:00
Justin Richer bb7d6b2e94 split scopes table 2012-08-10 14:26:47 -04:00
Michael Jett 66e5cf3f04 Client table button UI tweaks 2012-08-10 14:23:54 -04:00
Michael Jett 8d57e0e9ef Issue # 81 Client UI - Creating new client creates duplicate 2012-08-10 14:19:33 -04:00
Michael Jett a5a102bbe4 Github Issue #116 2012-08-10 11:25:50 -04:00
Amanda Anganes 170036e0b8 Added expiration to id tokens 2012-08-09 12:44:22 -04:00
Amanda Anganes 49cb8bd0cb fixing bugs; needed to make all ids BIGINT AUTO-INCREMENT PRIMARY KEY in sql files 2012-08-09 12:44:21 -04:00
Amanda Anganes d7deda1699 Propogated AuthenticationHolder effects; this is untested but compiles and I think it is mostly correct 2012-08-09 12:44:21 -04:00
Amanda Anganes 90df91c351 Added AuthenticationHolder object, got references squared away for AccessToken side. Compiles. 2012-08-09 12:44:21 -04:00
Amanda Anganes cf348590b0 Removed unused ClientGeneratorFactory 2012-08-09 12:44:21 -04:00
Amanda Anganes d6d80c3e60 Gave OAuth2RefreshTokenEntity a Long Id 2012-08-09 12:44:21 -04:00
Amanda Anganes 6b1dad7215 Gave OAuth2AccessTokenEntity a Long Id 2012-08-09 12:44:21 -04:00
Amanda Anganes 780839dbf9 Made things compile after ClientDetailsEntity refactoring 2012-08-09 12:44:21 -04:00
Justin Richer 09e528e113 added discovery info for x509 and client auth 2012-08-07 17:30:36 -04:00
Justin Richer dc7aac12f9 added custom login form, changed footer to only optionally load app 2012-08-07 12:09:32 -04:00
Amanda Anganes 8d4e046408 All logging is now org.slf4j. We had a mix of org.slf4j and apache commons-logging. Added error logging to all view which throw errors. 2012-08-07 10:04:38 -04:00
Amanda Anganes a061e64abf Merge branch 'user-approval-handler-updated-rebase' 2012-08-06 16:30:03 -04:00
Amanda Anganes 32dc92119f Cleanup completed, this works for the most part. TODO: need to make an upstream change in order to inject a new set of scopes into the AuthorizationRequest. 2012-08-06 16:29:22 -04:00
Amanda Anganes 5fb67ab7bb Did a lot of cleanup; untested but compiles 2012-08-06 14:33:16 -04:00
Amanda Anganes ae44bd5e0c Works; about to do some cleanup 2012-08-06 13:40:27 -04:00
Amanda Anganes 2f28cf33e7 Changed UserInfo refs in WhitelistedSite to String ids; updated the user approval handler to check if "remember this decision" is checked and only make a new AP if so, and to pull in the scopes selected on the approval page as the saved allowed scopes for that AP. 2012-08-03 16:43:37 -04:00
Amanda Anganes b87d54b06e Changed UserInfo references to String "userId" references 2012-08-03 13:32:17 -04:00
Amanda Anganes 845976b8ac First stages of getting the graylist portion to work. Currently no mechanism for telling the system NOT to remember your decision; that will come later. All approvals will be automatically stored with this code. 2012-08-03 12:49:40 -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
Justin Richer 9a7e40fee7 moved all bean definitions to annotations, removed orphaned CheckID view 2012-08-02 12:46:35 -04:00
Justin Richer 1508369548 now with Walsh-flavored certificate generation 2012-08-01 18:04:26 -04:00
Justin Richer 61a8d4a787 x509 take -- bouncycastley version 2012-08-01 17:19:33 -04:00
Amanda Anganes db415bfa2b Working on user approval handler 2012-07-31 14:50:24 -04:00
Amanda Anganes a223565364 updating user approval handler 2012-07-31 14:50:24 -04:00
Amanda Anganes 676808bdac got things to deploy - could not reference UserInfo directly in ApprovedSite and WhitelistedSite; needed to reference DefaultUserInfo instead. 2012-07-31 14:50:24 -04:00
Amanda Anganes 4e10fce7ef Implementing user approval handler; made some modifications to ApprovedSite and WhitelistedSite models, repositories, and service layers. 2012-07-31 14:50:24 -04:00
Amanda Anganes 7c33e19950 Changed authorization endpoint to /authorize rather than /auth; updated SWD entry. Also removed checkid entry from SWD. 2012-07-31 14:39:27 -04:00
Justin Richer 863693cf59 Merge pull request #128 from mtderryberry/jwe-and-jwt-fixes
Jwe and jwt fixes
2012-07-31 10:52:04 -07:00
Amanda Anganes 3982561a5b Removing "throws exception" from views. Addresses issue #70 2012-07-31 12:28:46 -04:00
Amanda Anganes 5cf6359f7d Merge branch 'master' of github.com:mitreid-connect/OpenID-Connect-Java-Spring-Server 2012-07-31 12:14:19 -04:00
Amanda Anganes 686412757f shortened urls 2012-07-31 12:02:21 -04:00
Mike Derryberry 3b2268c622 updated jwtHeader typ to use an enum 2012-07-31 11:29:48 -04:00
Justin Richer 1b5f99efec added .json mapping to SWD 2012-07-31 10:42:42 -04:00
Amanda Anganes 02da9fceed fixed imports 2012-07-31 09:16:05 -04:00
Justin Richer d07667576e cleaned up old code 2012-07-30 16:50:44 -04:00
Justin Richer 40f39a18e0 cleaning up introspection endpoint 2012-07-30 16:50:44 -04:00
Amanda Anganes e7449901a6 Removed IdTokenGeneratorService. Addresses issue #75 2012-07-30 16:46:20 -04:00
Justin Richer ee9288a72a turned down cache in default 2012-07-30 16:16:02 -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
Justin Richer 1f68c835c0 updated openid connect image 2012-07-16 15:12:35 -06:00
Michael Jett 7a3ae5a757 Merge remote branch 'origin/master' 2012-07-10 17:00:30 -04:00
Michael Jett 30addb5439 Redirect URI now displayed on approval page. 2012-07-10 16:54:55 -04:00
Justin Richer 9f16f309bd updated userinfouserdetailsservice to use username instead of userid -- this should actually be a wrapper class though 2012-07-10 16:44:29 -04:00
Justin Richer b0a7ebd9b1 fixed JWK algorithm display 2012-07-10 14:57:12 -04:00
Stephen Moore 84aa451095 Added comment for spring-servlet.xml 2012-07-10 13:29:53 -04:00
Justin Richer 5657bc8f28 updated configuration, confirmed works pending SECOAUTH-299 2012-07-09 11:25:45 -04:00
Justin Richer e5eb2e03d8 added implicit beans 2012-07-09 11:25:45 -04:00
Amanda Anganes 01793ec57f added preferred_username claim to userinfo endpoint 2012-07-06 16:02:11 -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
Amanda Anganes 50241e4da1 changed UserInfo.verified to UserInfo.emailVerified. 2012-07-06 14:11:43 -04:00
Justin Richer 8fe132cb53 formatting 2012-07-05 18:32:31 -04:00
Justin Richer 830e07c35c moved whole configuration from servlet context into application context 2012-07-05 18:26:12 -04:00
Justin Richer dbd563f3f2 attempting to allow make use of SPEL 2012-07-05 18:21:52 -04:00
Justin Richer f0c949fd09 added scope-based filter for userinfo 2012-07-05 17:14:51 -04:00
Justin Richer 5c1b07ae65 don't overwrite an existing JWT nonce 2012-06-28 17:04:21 -04:00
Justin Richer 29731d52f6 Merge branch 'refreshtokens' of file:///home/jricher/Projects/workspace-sts/OpenIDConnect-MITRE/OpenID-Connect-Java-Spring-Server into refreshtokens 2012-06-28 17:00:17 -04:00
Justin Richer de1597b214 refresh token handling fixed, removed token factory references 2012-06-28 16:55:11 -04:00
Michael Jett 0dc568e5d0 Fixed more information link on approval page 2012-06-28 14:54:59 -04:00
Michael Jett a022f4d713 Authorized grant types now supported client-side 2012-06-28 14:40:37 -04:00
Michael Jett bff34f647c Allowing a null value for redirectURIs 2012-06-28 12:07:02 -04:00
Michael Jett 8fbea2516a Updated client side variable names to reflect name changes to access token and refresh token timeout 2012-06-28 11:37:34 -04:00
Amanda Anganes 4e3c99abe4 Merge branch 'validityIntegers' 2012-06-26 13:55:26 -04:00
Amanda Anganes 81d1af40bd Updated our ClientDetailsEntity *TokenTimeout fields to be *ValiditySeconds, which are now typed as proper Integers in the SECOAUTH ClientDetails interface 2012-06-26 13:54:01 -04:00
Michael Jett b6e00b9884 Base white-list functionality and template 2012-06-26 12:50:13 -04:00
Justin Richer 1127a7cfbc refactored JWKs, updated signing servier to use them 2012-06-25 17:19:25 -04:00
Justin Richer adb8499bee merged derryberry code, plus tweaks, still WIP 2012-06-25 16:42:41 -04:00
Mike Derryberry b94fbd7439 updated -common and -client code by removing throws exception, changing to rest templates, and updating test cases to use annotations 2012-06-20 09:36:55 -04:00
Justin Richer 94256d95a1 added crypto configuration file 2012-06-19 16:25:13 -04:00
Justin Richer a38dc0ce29 added crypto configuration file 2012-06-19 16:24:50 -04:00
Justin Richer fe3bbfb3d5 Further cleanups. Still missing:
- All tests extend TestCase, should use annotations instead
- Several elements throw Exception
- Key Fetchers should use RESTTemplates and be in a separate utility set
2012-06-15 17:11:58 -04:00
Justin Richer b86abdd761 merge from pull request, plus cleanup 2012-06-15 15:36:14 -04:00
Justin Richer 731ad2e2e2 updated SECOAUTH reference, fixed some SQL files, temporarily closed token timeout issue 2012-06-15 12:05:08 -04:00
Justin Richer ace5dd1f1e imported userinfouserdetails filter from MITRE codebase 2012-06-13 16:33:55 -04:00
Mike Derryberry 65dc3daaf8 smart client 2012-06-12 16:09:01 -04:00
Amanda Anganes bbf9591c92 Merge branch 'master' into issue52
Conflicts:
	openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2ProviderTokenService.java
	openid-connect-server/src/main/webapp/WEB-INF/spring-servlet.xml
	openid-connect-server/src/main/webapp/WEB-INF/views/oauth/approve.jsp
2012-06-11 15:04:01 -04:00
Justin Richer 7a207dc162 Merge branch 'discoveryupdate' 2012-06-05 16:37:04 -04:00
Justin Richer 250e0c730e Merge branch 'jwtupdate' 2012-06-05 16:36:32 -04:00
Justin Richer 7df2663e00 added final slashification of configuration URLs 2012-06-05 16:36:11 -04:00
Justin Richer fbdccdb78e added Xrd support (fixes #63), updated configuration locations (fixes #47) 2012-06-05 16:32:49 -04:00
Justin Richer e44697cef9 updated JWK display to latest, closes #58 2012-06-05 16:07:19 -04:00
Michael Jett 3b4e95ac10 Approval page updates 2012-06-05 15:52:09 -04:00
Michael Jett d424f44b8c Removing some whitespace 2012-06-05 13:08:55 -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 5c72d8b95f revocation endpoint cleanup, still needs views 2012-06-05 11:24:11 -04:00
Justin Richer 27219c066d refactored our service to reflect upstream 2012-06-05 10:18:26 -04:00
Justin Richer e95528a08d added implementation to stub to read an access token by value 2012-06-05 10:11:24 -04:00
Amanda Anganes c89b1814d6 Fixed approve.jsp checkboxes (both had the same name). 2012-06-01 17:12:33 -04:00
Amanda Anganes 8684bb969f Updated approve.jsp with Jett's new code to display some checkboxes. This has been tested, and the additional parameters are persisted correctly and are available to the TokenGranter. 2012-05-31 13:39:24 -04:00
Michael Jett 68483536a6 Approval page updates. Approval and denial buttons are now in one form. Generic checkboxes are in place. 2012-05-31 12:12:56 -04:00
Amanda Anganes 424f8bb737 Refactored to use TokenEnhancer rather than a custom TokenGranter. 2012-05-30 16:14:00 -04:00
nemonik 998fc7f98b cleaned up beans layout 2012-05-30 15:17:33 -04:00
nemonik 8917e75010 see issue #19 2012-05-30 15:14:15 -04:00
Amanda Anganes 16aa0c59b5 Added token enhancer. Now to plug it in. 2012-05-30 12:31:12 -04:00
Amanda Anganes 2070d2e413 Updated to use AuthorizationRequestFactory rather than ClientCredentialsChecker. 2012-05-30 12:08:08 -04:00
Justin Richer ce847dd4f7 updated poco user view to contain name 2012-05-24 15:57:34 -04:00
Stephen Moore c418ccabb1 Merge branch 'master' into userInfoEndpoint 2012-05-24 13:06:29 -04:00
Stephen Moore 1bff5ef19f Added POCO view, Added UnknownUserInfoScheamException runtime exception 2012-05-24 11:00:49 -04:00
Michael Jett b838ddb786 Client ID display fix 2012-05-23 14:24:53 -04:00
Michael Jett a1d85e281e Client ID now showing on display and edit page 2012-05-23 14:21:08 -04:00
Michael Jett 48ff2d3d77 Merge remote branch 'origin/master' 2012-05-23 14:01:40 -04:00
Michael Jett f8af7bf884 Adding help text for time-out options 2012-05-23 14:01:31 -04:00
Stephen Moore 5c544dfe7c Merge branch 'master' into userInfoEndpoint 2012-05-23 13:43:32 -04:00
Justin Richer 7d4d65c359 Merge branch 'userinfo_integration' 2012-05-23 13:39:03 -04:00
Justin Richer a8e9f1d2cd fixed rendering issues with user info view 2012-05-23 13:36:53 -04:00
Stephen Moore 9612fde10e Check for null address, and added email 2012-05-23 13:35:05 -04:00
Justin Richer 08958d4137 Merge remote-tracking branch 'remotes/steve/userInfoEndpoint' into userinfo_integration 2012-05-23 13:11:40 -04:00
Justin Richer 06fadb5f2b oauth provider configuration started 2012-05-23 12:55:21 -04:00
Stephen Moore 9b03831d4e Filled in the UserInfoEndpoint, and added the JSON view for userInfo (openIdSchema) 2012-05-22 16:56:22 -04:00
Michael Jett 668952ec09 Fixing typo 2012-05-22 16:12:21 -04:00
Michael Jett b59baa09a9 Cleaning up placeholder fields 2012-05-22 16:07:51 -04:00
Michael Jett c85248c40c Editing bug fix for validation 2012-05-22 15:19:47 -04:00
Michael Jett a44dee1fd6 Fixing IE compatibility with saving and editing clients 2012-05-22 15:06:06 -04:00
Michael Jett e5312b4c99 Client secret now editable and dynamically generated if not present 2012-05-22 14:36:40 -04:00
Michael Jett bd054bfd58 Client delete now requires confirmation 2012-05-22 12:28:48 -04:00
Michael Jett 6c8aeba041 Default scope is "openid" 2012-05-22 12:25:29 -04:00
Michael Jett e4f2446569 - no restraints on client name and description (neither of them required)
- URI regex updated
2012-05-22 12:23:05 -04:00
Michael Jett 51fe98b383 ClientAPI now sets owner for clients 2012-05-18 14:23:19 -04:00
Michael Jett f7a0b8de32 Client scope now supported 2012-05-18 14:09:23 -04:00
Michael Jett a1234a4fcd Timeout form fields now supported. Backbone.JS Validation error handling updates. 2012-05-17 17:15:37 -04:00
Michael Jett 2d980a4d8f Refactoring of routing. Client updates 2012-05-17 16:33:22 -04:00
Michael Jett b06640c921 First stages of client-side validation worked into application 2012-05-16 17:22:25 -04:00
Michael Jett c45991b561 Adding backbone.js validations framework 2012-05-16 16:04:30 -04:00
Michael Jett 3402a3e463 ClientAPI now fully supports RESTful DELETE 2012-05-16 14:32:40 -04:00
Michael Jett 7f5b9e2c82 ClientAPI now supports DELETE method 2012-05-16 14:03:49 -04:00