Commit Graph

521 Commits (480fb8e5935011674dcf530679725db2ba44da04)

Author SHA1 Message Date
Justin Richer c59d3fe963 it spits out JWTs! and id tokens! JWT still needs to handle nulls 2012-03-21 17:59:48 -04:00
Amanda Anganes ebe72412fe Authorization Grant flow works up to serializing the returned Access Token. Justin is investigating serialization problems. 2012-03-21 16:44:16 -04:00
Amanda Anganes d94eb338ee Auth code flow works through user approval page. Current problem is that it doesn't seem to be matching up auth codes correctly (I keep getting "invalid code" error). But, it looks like it's going through our custom token granter so that is good. 2012-03-20 15:07:18 -04:00
Justin Richer 626779b58e refactored client package name to something sensible 2012-03-16 17:07:49 -04:00
Justin Richer 8263ce0dd5 added external class to persistence context 2012-03-16 17:01:24 -04:00
Justin Richer b463cabc69 fixed configuration, moved sql file 2012-03-16 16:46:46 -04:00
Justin Richer 2f29cc52b2 Merge branch 'client_refactor' 2012-03-16 16:28:51 -04:00
Amanda Anganes 409a5295f6 Commented out properties on ClientDetailsEntity.java that were not annotated. TODO: uncomment and annotate with JPA annotations.
Added resource_ids.sql, table definition for resource ids. This needs to be added to everyone's databases in order to run the Authorization Server.
Testing & working on AuthZ server. @ needing to set up user-approval page.
2012-03-16 16:22:02 -04:00
Justin Richer baf7c1c166 fixed dependencies and project configurations 2012-03-16 16:18:33 -04:00
Justin Richer e6e7504213 added files and shuffled things to new packages 2012-03-16 15:46:23 -04:00
Justin Richer a0cdd8bf2f moved server to new package location 2012-03-16 15:01:53 -04:00
Amanda Anganes 13eeb433a9 Accidentally removed "spring project nature". It is put back now. 2012-03-15 12:23:24 -04:00
Amanda Anganes 0da11be4f9 This should be a working version with the AuthZ server deployed. I cleaned up a bunch of files that were generating compiler warnings. Changed use of GrantedAuthorithyImpl to SimpleGrantedAuthority, as GrantedAuthorityImpl is deprecated and SGA is its replacement.
Added stub for public OAuth2AccessToken readAccessToken(String accessToken) to DefaultOAuth2ProviderTokenService.java. This method IS in the superclass and should be implemented, but was not before and for some reason the compiler only started complaining about it now, on my machine.

Moved @Autowired for ClientDetailsEntityService in OAuthConfirmationController.java from setter method to field declaration, as it was failing to deploy on my machine in the other position. If others have issues with this change please let me know.
2012-03-15 12:13:50 -04:00
Amanda Anganes 9be02af93c Other patch was bad - was on wrong version of original file, had wrong line numbers. This is the correct patch to use. 2012-03-14 15:42:46 -04:00
Amanda Anganes 0e0ef578e5 Merge branch 'master' of github.com:jricher/OpenID-Connect-Java-Spring-Server 2012-03-13 16:42:49 -04:00
Amanda Anganes daf6b53da2 Added patch to fix authorization server config 2012-03-13 16:42:10 -04:00
Michael Jett c23d31bc54 Initial commit of admin client management section 2012-03-13 16:28:13 -04:00
Michael Jett c015329e52 Altering resig js tmpl library. JSP has a hate passion for it. 2012-03-13 16:27:21 -04:00
Michael Jett f3e53386f9 Updating approval page to use oauth2 libs 2012-03-12 12:50:13 -04:00
Amanda Anganes 663d7cce9f Merge branch 'march9' 2012-03-12 11:57:04 -04:00
Amanda Anganes c68762877d Needs more testing, but this doesn't break anything existing and I *think* the SECOAUTH AuthZ server is up now. /oauth/authorize IS mapped, but I am getting a "GET not allowed" (POST looks like it is) when I try to access the authorization endpoint with my browser. 2012-03-12 11:54:19 -04:00
Amanda Anganes 3c820edb9c /oauth/authorize is MAPPED. Failing when trying to access /openidconnect/auth url with java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:251)
2012-03-09 16:06:27 -05:00
Michael Jett ba376dfd61 Merge remote branch 'origin/master' 2012-03-08 15:53:57 -05:00
Michael Jett efefdff915 bare-bones for the access approval page and mockup 2012-03-08 15:53:41 -05:00
Michael Jett c925a18a04 copyright is now in it's own tag file 2012-03-08 15:52:52 -05:00
nemonik 539778e2c2 pulled the id_token from the Token Endpoint response, and msg the OpenIdConnectAuthenticationToken constructor w/; with other code tightening in the OpenIdConnectAuthenticationToken and OpenIdConnectAuthenticationProvider. 2012-03-08 15:50:46 -05:00
nemonik f4129ec085 adding the renamed classes 2012-03-08 12:55:30 -05:00
nemonik 7e137579d5 renamed classes 2012-03-08 12:52:07 -05:00
nemonik 08a582dfbe progress on the client 2012-03-08 12:41:19 -05:00
nemonik 319d0439ea OpenID Connect client work in progress 2012-03-07 19:31:02 -05:00
Amanda Anganes 099456c189 Merge branch 'master' of github.com:jricher/OpenID-Connect-Java-Spring-Server 2012-03-06 15:46:09 -05:00
Amanda Anganes 6a8647542e Updated OpenID_Connect_Diagrams.pdf so that step B of the Authorization Code Flow returns a redirect URI rather than a JSON response object. 2012-03-06 15:45:45 -05:00
Michael Jett 8cd7c34487 Base url correction for CSS/JS 2012-03-06 14:08:30 -05:00
Amanda Anganes 89dd98f4a7 Merge branch 'master' of github.com:jricher/OpenID-Connect-Java-Spring-Server 2012-03-02 16:20:31 -05:00
Amanda Anganes 8685a8c97f Filled out UserInfoEndpoint.java a bit more, added extra fields to ClientDetailsEntity.java that are needed to support options from the Connect DynClientReg spec. 2012-03-02 16:19:10 -05:00
Michael Jett 0f47232b00 Javascript testing updates 2012-03-01 13:50:56 -05:00
Michael Jett 39e6cd1166 Fixing path for server deployment of resources. 2012-02-29 14:59:51 -05:00
Justin Richer e7362f93b3 updated and commented refreshtoken implementation 2012-02-27 12:01:39 -05:00
Justin Richer c46e0f1969 tweaked setup for mapping of controllers 2012-02-27 11:56:29 -05:00
Justin Richer 4dc1625496 changed id token handling 2012-02-27 11:27:57 -05:00
Michael Jett d7ba02a74c JavaScript Template prototype. Test JSON for clients 2012-02-24 14:42:45 -05:00
Michael Jett 70567ae183 Adding Resig js templating library 2012-02-23 16:15:23 -05:00
Michael Jett f6745359f6 Home is now fully rendered. Title is processed as tag attribute 2012-02-23 15:06:19 -05:00
Michael Jett 26957f1c77 Correcting root mapping for Controller. 2012-02-23 13:41:20 -05:00
Michael Jett b274098348 Merging Jwt.java back into the branch 2012-02-23 11:31:47 -05:00
Justin Richer f71ea2133c removed unneeded patch 2012-02-22 14:07:42 -05:00
Amanda Anganes 4d4def75f1 Removed patches to SECOAUTH and updated to current head revision. Updated code to match changes, filed issues 2-4 in github issue tracker for some cleanup still remaining. Updated OAuth2AccessTokenEntity to contain an IdToken, which is persisted as a string. NOTE: to deploy, you will need to update your database tables to include the column "idTokenString VARCHAR(256)". accesstoken.sql has been updated to reflect this. 2012-02-22 13:58:20 -05:00
Amanda Anganes 6c1c71809d Merge branch 'master' of github.com:jricher/OpenID-Connect-Java-Spring-Server 2012-02-22 10:58:58 -05:00
Amanda Anganes bf6408c671 Added IdTokenGeneratorService interface and DummyIdTokenGeneratorService.java, a dumb implementation of that interface. IdTokenGeneratorService is responsible for generating an IdToken for the ConnectAuthCodeTokenGranter when requested. 2012-02-22 10:58:42 -05:00
nemonik 812658d3d3 modified testGenerateRsaSignature to be more meaningful, and added testValidateRsaSignature unit test to org.mitre.jwt.JwtTest 2012-02-21 20:36:00 -05:00