Commit Graph

1483 Commits (a0bd2c70ac75c92f73f6de122e08a4bd155e7774)

Author SHA1 Message Date
Justin Richer 9662f3e8b3 switched access token to using converter instead of dummy field
10 years ago
Justin Richer 9ba1a78d09 removed binary objects from data API importers, removed binary object JSON utility entirely
10 years ago
Justin Richer c974267cde return prompt=none error to client, closes #667
10 years ago
Justin Richer cbf6316050 cleaned up logic on user info interceptor to fix detection of redirects
10 years ago
Justin Richer fe6d2f8a6e updated and expanded unit tests to account for new data layer
10 years ago
Justin Richer d5a08d4996 cleaned up vestigial service component, to be fixed (maybe) in #825
10 years ago
Justin Richer d9e03b769b fixed auth holder reference handling, import/export works now
10 years ago
Justin Richer 3d1aee77b4 updated 1.2 import to reflect new objects
10 years ago
Justin Richer 441b19f0c5 fixed data export to comply with new auth holder
10 years ago
Justin Richer a7905c9f82 only save strings in the Extensions map
10 years ago
Justin Richer cb8abca0f6 removed embedded JOSE classes in favor of converters
10 years ago
Justin Richer 6be2b4f65e added ES* and PS* support for signed objects
10 years ago
Justin Richer 04dc037f9e fixed unit tests to account for refresh token rotation
10 years ago
Justin Richer aeed2fa003 issue new refresh tokens for clients who are configured for it, closes #408
10 years ago
Justin Richer 31d5e3ad0e echo back requested scopes in error thrown by validator, closes #708
10 years ago
Justin Richer 52b1bda8d8 version match and cleanup
10 years ago
Justin Richer 24a464e142 put in a dummy resource set service so that introspection can pass through
10 years ago
Justin Richer a2edb31753 moved UMA server to its own module
10 years ago
Justin Richer 7188a06488 added deletion functionality to UI
10 years ago
Justin Richer 43a432eb9a removed extraneous TODO
10 years ago
Justin Richer ed7799b54a make RPTs optionally expire, closes #794
10 years ago
Justin Richer e0cdeb3571 inject uma token service
10 years ago
Justin Richer fc64dcc9b9 discovery endpoint cleanup
10 years ago
Justin Richer f4f08d9449 RPT endpoint cleanup
10 years ago
Justin Richer 1f083c7acb extracted RPT generation component to new token service class, closes #797
10 years ago
Justin Richer 0ea06f01b8 moved claims processor to the right package
10 years ago
Justin Richer 53d4f15923 shuffle authz endpoint
10 years ago
Justin Richer 7951ff5086 separated claims processing out into its own service, closes #796
10 years ago
Justin Richer 8d5c7d6226 fixed some rogue documentation
10 years ago
Justin Richer afad3a720b Merge branch 'master' into uma
10 years ago
Justin Richer e155cdc282 added strict URI matching option to redirect resolver (off by default)
10 years ago
Justin Richer 06f7dc984d switched to view constants
10 years ago
Justin Richer d6dfa89533 check client information on delete of resource set
10 years ago
Justin Richer 7273b0a5b7 fixed discovery endpoint information, closes #805
10 years ago
Justin Richer eb49d9624c inject claims from OIDC auth token into permission ticket
10 years ago
Justin Richer 98cd5ba27d added save to permission ticket system
10 years ago
Justin Richer 08413302eb configured OIDC client on claims collection endpoint
10 years ago
Justin Richer f48049be4d deny tickets with no claims required (closes a race condition)
10 years ago
Justin Richer dc10779abb removed extraneous issuer in discovery endpoint, closes #793
10 years ago
Justin Richer a38a0b6f75 removed extraneous bob
10 years ago
Justin Richer 6e095e3266 can now add and remove email address claims from the UI
10 years ago
Justin Richer 687517d7f4 Merge branch 'master' into claims-editing-ui
10 years ago
Justin Richer d015d17fad search for local users first (by email), then check remote users
10 years ago
Justin Richer 348ff7ee17 made webfinger endpoint search by email address, then by username
10 years ago
Justin Richer 5aa5cc1a10 added search by email to user info data stack
10 years ago
Justin Richer e89d8cd985 added webfinger lookup helper service
10 years ago
Justin Richer 394785b9c4 don't give resource sets default client scopes
10 years ago
Justin Richer 7af19dbd61 added copyright text
10 years ago
Justin Richer 3e931c68b4 added policy editing overview page
10 years ago
Justin Richer 5698393d31 created claims API
10 years ago
Justin Richer bde03411f1 Merge branch 'master' into uma
10 years ago
Justin Richer 006a4d1ec6 fixed import function of 1.2 data service
10 years ago
Justin Richer 6f149cba69 Merge branch 'master' into uma
10 years ago
Justin Richer 30e894a64a put 'kid' into JWS header, closes #784
10 years ago
Justin Richer 866186f611 pointed data API at the correct service version
10 years ago
Justin Richer 6daeeefb33 augmented introspection unit tests with one for new permissions mode
10 years ago
Justin Richer 9f913244a0 fixed unit tests for introspection results
10 years ago
Justin Richer 7df31f1e87 completed rudimentary UMA authorization API.
10 years ago
Justin Richer 1be9da52c6 separated ticket object from permission object to facilitate re-use of permission object with tokens
10 years ago
Justin Richer f123366069 added scope filtering to protection api
10 years ago
Justin Richer ff958e20b6 basic authorization support
10 years ago
Justin Richer 098519da5e added OAuth2 error reporting to permission and resource set endpoints
10 years ago
Justin Richer 2aadb09f49 started claims service, added expiration to permissions
10 years ago
Justin Richer c234f78dbd Merge branch 'master' into authorization-api
10 years ago
Justin Richer 5873b336f2 fixed erroneous import
10 years ago
Justin Richer 8352145d82 Merge branch 'master' into authorization-api
10 years ago
Justin Richer ba51df0c37 consolidated client credential filter beans
10 years ago
Justin Richer 4f12fab56b made unused auth codes expired (they're still single-use), refactored auth code service layer
10 years ago
Justin Richer 2abcd96bbe set fallback locale to English, ultimate fall through is to return the code string itself
10 years ago
Justin Richer 285ad71874 made input reader use UTF8, imported the first set of Swedish text to the JSON format
10 years ago
Justin Richer 80605becf1 rudimentary json-based message source
10 years ago
Justin Richer e1fb8272cc redirect error on prompt=none, addresses #667
10 years ago
Justin Richer ad9b49733f externalized queries for scopes, blacklists, user info, pairwise identifiers, and whitelists, closes #771 even harder
10 years ago
Justin Richer 15b97b1dcb Externalized strings for named queries on auth holders, auth codes, clients, and tokens, closes #771
10 years ago
Justin Richer 61a596dc15 externalized strings from user info views
10 years ago
Justin Richer 86e95d9e6e externalized json entity and error parameters, closes #770
10 years ago
Justin Richer e56161e223 extracted http "code" view parameter
10 years ago
Justin Richer 1735dbca11 extracted controller URLs to constants, closes #769
10 years ago
Justin Richer 617d485478 updated all references to media types to use constants instead of literals, closes #767
10 years ago
Justin Richer c777ebfac9 added universal OAuth exception handling
10 years ago
Justin Richer 76b7324d88 fixed execution order of introspection endpoint
10 years ago
Justin Richer 8c8f912880 fixed endpoint processing to account for client id
10 years ago
Justin Richer ee522100b9 Merge branch 'master' into uma-introspection
10 years ago
Justin Richer 5d35f2c1a6 toned down errors on introspection endpoint
10 years ago
Justin Richer 65d7b00f4d added uma-processing of scopes to introspection results
10 years ago
Justin Richer 627bcaee43 added client_id to resource sets
10 years ago
Justin Richer e5e4c15058 removed introspection authorizer hook
10 years ago
Justin Richer 2a6a17486a added initial uma discovery endpoint
10 years ago
Justin Richer 621399545e cleaned up introspection endpoint processing
10 years ago
Justin Richer 764df71758 refactored introspection to allow for UMA style token access
10 years ago
Justin Richer 1da5c2cd84 fixed imports
10 years ago
Justin Richer c7f6811961 refactored scope enforcement utilities to a separate authentication class
10 years ago
Justin Richer 48b857eb85 fixed logger variable name
10 years ago
Justin Richer c09b63c69f made logger declarations consistent across project, closes #780
10 years ago
Wolter Eldering 849a2b3271 Fixed logger
10 years ago
Wolter Eldering 020b410ffe null safe
10 years ago
Wolter Eldering db2574ab53 removed DateUtil
10 years ago
Justin Richer f266d3b151 added unit test for resource set service to make sure it catches error conditions
10 years ago
Justin Richer 35f2a03b4e added unit test for permission service
10 years ago
Justin Richer e59e988809 made permission service enforce scoping
10 years ago
Justin Richer 5ff9cd1bbb implemented permission registration API
10 years ago
Justin Richer eed8fb0b28 created skeleton of permission registration API
10 years ago
Justin Richer c41488b103 moved an uma package to common, extracted OAuth scope enforcement utility
10 years ago
Justin Richer 5be7d64c7d moved all uma files to their own package
10 years ago
Justin Richer 0d96b6a28a changed name of scope to match uma spec
10 years ago
Justin Richer 7a1480bb07 moved and consolidated json utilities
10 years ago
Justin Richer 40fc70894e fixed oauth scope check
10 years ago
Justin Richer 4878e88d4f added list all by owner
10 years ago
Justin Richer 8d22ad03e2 implemented remove verb
10 years ago
Justin Richer 89114dcf74 implemented update
10 years ago
Justin Richer ad228e8953 send the _id as a string
10 years ago
Justin Richer 3b6412219b added abbreviated view, updated OAuth error handling, fixed URL mapping
10 years ago
Justin Richer 0b480bac10 implemented get
10 years ago
Justin Richer 3076da1ed8 functioning resource set repository layer
10 years ago
Justin Richer efeead52b6 fixed typos in data layer, added blank service layer to resource set
10 years ago
Justin Richer e7bf75e9a4 moved and consolidated json utilities
10 years ago
Justin Richer 90a7304b4e resource set registration endpoint and service shells
10 years ago
Justin Richer b670f44138 added UMA to version number
10 years ago
Justin Richer 720b73939f fixed token service logic, added verification to unit tests
10 years ago
Justin Richer 97ae456099 fixed unit tests affected by scope service changes
10 years ago
Justin Richer 6885713eed added warning suppression for data layer -- non-templated generic types have to be used here
10 years ago
Justin Richer f4813fccee fixed log messages on data services
10 years ago
Justin Richer 4ae981f484 updated data layer and unit tests
10 years ago
Justin Richer 593fac83cf scopes can now be set as "restricted" instead of needing to be set "allowDynReg", closes #747
10 years ago
Justin Richer 1caf5ef8bc removed call to deprecated http components constructor
10 years ago
Justin Richer b376bc6059 removed some vestigial service/repository calls, closes #513
10 years ago
Justin Richer ecfb72bc50 additional JOSE class naming
10 years ago
Justin Richer 522edda074 additional JOSE class renaming
10 years ago
Justin Richer cef6cf17b6 externalized a number of strings, closes #385
10 years ago
Justin Richer 05f03f7c90 yet more year updates
10 years ago
Justin Richer 994ce6c743 consistently named JOSE-based classes, closes #529
10 years ago
Justin Richer 335d05bb5c renamed data service abstract class
10 years ago
Justin Richer 685960358c formatting cleanup
10 years ago
Justin Richer e2349984b8 happy new year 2015!
10 years ago
Justin Richer d56aec5652 removed extraneous version tag for managed dependency
10 years ago
Justin Richer d88cc2ec8e fixed pluralization of post logout URIs in data API services
10 years ago
Justin Richer cc02f8fbe8 pluralized post-logout redirect URI on client, closes #654
10 years ago
Justin Richer 587d4b2db6 further pom file cleanup
10 years ago
Justin Richer 377d8cb884 moved dependency version management to parent pom, closes #666
10 years ago
Justin Richer ef3a696972 removed getBySubject and getAll from user info repository and service layers, closes #760
10 years ago
Justin Richer 63dd7c0b25 removed deprecated DefaultUserInfoUserDetailsService and corresponding test, closes #413
10 years ago
Justin Richer 166c53cd6a fixed comparison of client IDs in refresh token, closes #752
10 years ago
Justin Richer 6c88d7c54b removed old owner_id field, closes #636
10 years ago
Justin Richer ba97fcb88a changed name of clientAuthorization to authorizationRequest (which is more accurate), closes #697
10 years ago
John Brooks a1228d19b5 Changed lastWeek logic back to correct form, removed logic used for
10 years ago
Justin Richer e9d764e53e added support for login_hint, closes #250
10 years ago
Justin Richer 3e7ade9a67 fixed unit tests
10 years ago
Justin Richer 1a2ca25359 relaxed scope constraints on protected resources registered through self-service page
10 years ago
Justin Richer e371ad345f fixed checking of refresh token permissions in client service, clients can now request either refresh_token grant type or offline_access scope and it will work. added checkbox to dynreg page for ease-of-use
10 years ago
Justin Richer 56344fa12b make sure that client presenting refresh token is the same client the refresh token was issued to
10 years ago
Justin Richer 0e776762c2 set up data API for 1.2 format (currently the same as 1.1 format)
10 years ago
Justin Richer b14dfa6458 approval page defaults to "ask again" when prompt=consent is passed, closes #669
10 years ago
Justin Richer 775b77b367 updated date format of token introspection response, closes #719
10 years ago
Justin Richer c600787f1c added key id to id token, closes #725
10 years ago
Justin Richer d87bdb2120 added ROLE_CLIENT to assertion client authentication, cleaned up roles on client secret authentication, closes #728, closes #401
10 years ago
Justin Richer e6d10b67a4 update to Spring 4 and other related libraries
10 years ago
Alexander Imfeld 9dfac35912 Introduce introspection result assembler to allow for customized introspection results
10 years ago
arielak d557b1e2c2 RefreshToken to AuthHolder linkage test now using AuthHolder ID to verify
10 years ago
arielak ff436a6738 Added tests for ensuring the references between a refresh token and its authentication holder are preserved over import. Minor cleanup of other tests.
10 years ago
arielak d18d325c0c Better method of creating test AuthenticationHolderEntity, added some more testing to testImport/ExportGrants
10 years ago
arielak ff28e1a383 Added new data service tests, separated date parsing/formatting utilities into DateUtil class
10 years ago
Justin Richer 188818dc0d added null check to confirmation controller, closes #684
10 years ago
Justin Richer db052f11ca Moved development branch to 1.2
10 years ago
Justin Richer 134909a82f import cleanup
10 years ago
Justin Richer 1e71749c23 added more generic rotation capability
10 years ago
Justin Richer 0b8dbc4f68 added registration token API
10 years ago
Justin Richer 13cee6bf06 Ported date format changes from 1.0.x
10 years ago
arielak 98ace5c9fb Separated date formatting and parsing functions to DateUtil class. Modified how timezone is printed to workaround Java date formatting issue.
10 years ago
Justin Richer 1fbdd240f1 made binary encode/decode null safe
10 years ago
arielak a8377513a6 Fixed reading/writing of approved access tokens
10 years ago
arielak 0320bae15c Fixed netbeans copyright weirdness
10 years ago
arielak dcf66fadc4 Added support for 1.1 config import/export, and separated common functions into 1_X abstract class
10 years ago
arielak ad841a03df Added support for whitelisted and blacklisted site export
10 years ago
arielak 8495617aed Added support for whitelisted and blacklisted site import from a 1.0 config
10 years ago
arielak 16f15cc3c8 NPE fix
10 years ago
arielak 6333b1e4b1 Re-enabled reading of system scopes. Added 1.1 data export functionality
10 years ago
arielak d5551e9692 Added services for data import/export and modified JpaAuthenticationHolderEntity and Repository to allow getting all objects
10 years ago
Justin Richer c683131f12 externalized view name strings and tied them to view beans
10 years ago
Justin Richer 9e88a62479 moved the API endpoints, made resource tokens accessible too
10 years ago
Justin Richer 6d80a00d65 import cleanup
10 years ago
Justin Richer 81634e6165 added API for getting tokens by clientid
10 years ago
Justin Richer dee78c130c fixed missing null check in request object parser
10 years ago
James Agnew e0b84069d4 Update to latest spring-security-oauth2 module
10 years ago
Justin Richer 6f2f807b0b [maven-release-plugin] prepare for next development iteration
10 years ago
Justin Richer 93ae1516a5 [maven-release-plugin] prepare release mitreid-connect-1.1.9
10 years ago
Justin Richer 39c50b76f4 added null checks to endpoint auth method switches, closes #652
10 years ago
Justin Richer 8768188133 makes the grant types checker softer, closes #640
11 years ago
Justin Richer 9666404d54 added "none" to discovery endpoint
11 years ago
Justin Richer 7476edb310 added unsigned ID token support to server
11 years ago
Justin Richer 538c4031bb added in better default checks for content negotiation
11 years ago
Justin Richer 078bf5e464 combine HTTP content negotiation with client preferences for user info endpoint
11 years ago
Justin Richer 1de2a61176 made accept header optional for user info request
11 years ago
Justin Richer 04acc21eea removed injection of admin email address from client API, will happen browser-side now
11 years ago
Justin Richer adf477c64e [maven-release-plugin] prepare for next development iteration
11 years ago
Justin Richer 8d97ed61ec [maven-release-plugin] prepare release mitreid-connect-1.1.8
11 years ago
Justin Richer 5773fe195b set proper content type on user info JWT response
11 years ago
Justin Richer 5f97ce0ca1 fixed error code string
11 years ago
Justin Richer 6589cd717d disallow fragments in redirect uris for dynamic clients, closes #622
11 years ago
Justin Richer 4e52543091 more properly respond to some client registration errors
11 years ago
Justin Richer c493f438e7 applied token rotation to protected resources
11 years ago
Justin Richer f4edd3164f made timeout field optional, tokens don't expire in the default case
11 years ago
Trilok Jain 4e09ec687b Registration Token regeneration - when they are beyond their lifetime
11 years ago
Trilok Jain ed3e6a2814 https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/issues/431:
11 years ago
Justin Richer a106121af3 created blacklist aware redirect resolver and wired it in, closes #549
11 years ago
Justin Richer a97f3e2d65 don't throw away creation time on protected resource update (oops)
11 years ago
Justin Richer e0fe22e4ba don't regenerate client secrets every single time
11 years ago
Justin Richer 53148f2c87 better auth method checking in dynamic registration and resource registration
11 years ago
Justin Richer f15b4a0f74 resource registration returned the wrong URL
11 years ago
Justin Richer 47cc005fe5 more sanity checking for client secrets
11 years ago
Justin Richer cac645484f client API now generates client secret only for clients that require a client secret
11 years ago
Justin Richer 52e53ba219 extracted validation exception, refactored protected resource registration endpoint to use this format
11 years ago
Justin Richer b7a8bbdddc cleanup, error wrappers on protected resource registration
11 years ago
Justin Richer deaccf437e refactored dynamic registration endpoint's checks for client consistency
11 years ago
Justin Richer 04f7a698ea added response type consistency checking, closes #430
11 years ago
Justin Richer 32101ff7b2 added parsing checks, fixed inverted logic, cleaned up redundant settings, closes #597
11 years ago
Justin Richer ab083c0963 added checks to dynamic registration endpoint that disallow registration of multiple incompatible grant types
11 years ago
Justin Richer cdd23df7ee token introspection now returns user "sub" when available in addition to "user_id", closes #507 (might cause incompatibility problems)
11 years ago
Justin Richer 85acfa90db [maven-release-plugin] prepare for next development iteration
11 years ago
Justin Richer d5e4cb45a2 [maven-release-plugin] prepare release mitreid-connect-1.1.7
11 years ago
Justin Richer 8861220632 stats on home page are now loaded in the background (makes main site load much faster)
11 years ago
Justin Richer 3e4aae6c8a hash tests now pass on Java8
11 years ago
Justin Richer dfdc4ed52d fixed information leaks from approved site API
11 years ago
Alexander Imfeld a84c10fc1c Change copyright from Netcetera to MITRE/MIT-KIT.
11 years ago
Justin Richer 2797731597 fixed unit test to account for cascading tokens
11 years ago
Justin Richer d2c83104fb cascade token saves
11 years ago
Josh Mandel 7f8cbcea39 Use return value from TokenEnhancer.enhance
11 years ago
Justin Richer be98b9cd0b [maven-release-plugin] prepare for next development iteration
11 years ago
Justin Richer 8320f0eefe [maven-release-plugin] prepare release mitreid-connect-1.1.6
11 years ago
Justin Richer 0c8cacd59a added missing copyright headers
11 years ago
Justin Richer 525f3aa2a8 Cleaned up indentation, whitespace, and imports.
11 years ago
Justin Richer 8185171119 minor clean up
11 years ago
Justin Richer 5ab516de48 prevent clients from registering with special resource scope
11 years ago
Justin Richer c34357a433 added resource registration endpoint with basic functionality and specialized tokens
11 years ago
Justin Richer 960319b796 improved logging configuration, removed transactional from service
11 years ago
Justin Richer 85fd4e71ce typo in error message
11 years ago
Justin Richer 2af51dc77a better URI check for prompt filter short circuit
11 years ago
Justin Richer f4a1a2acff fixed prompt filter coding error
11 years ago
Justin Richer 89d55e3d33 added support for default max auth age and require auth time, made prompt filter only work on authorization endpoint
11 years ago
Justin Richer 5c6e75bd53 cleaned up UI for client editing
11 years ago
Justin Richer 05e9624ae3 added support for encrypted and symmetrically signed id tokens and user info responses
11 years ago
Justin Richer ffe1b29906 Added Signed JWT support to UserInfo endpoint response, closes #593
11 years ago
Justin Richer e4d5f4a540 added system wide cache for all symmetric validators, closes # 557
11 years ago
Justin Richer ca333d256b Appropriately catch runtime exceptions in all guava caches, closes #603
11 years ago
Justin Richer df9c9747ce more reasonable check for whether or not a user auth is present, addresses #602
11 years ago
Justin Richer 4e890a4d7d enforce clients using a redirect flow have at least one redirect uri registered when using dynamic registration, made error handling more consistent across all APIs
11 years ago
Justin Richer a225b00920 added null check and permissions check to ID token generation, closes #602
11 years ago
Justin Richer 880014176f [maven-release-plugin] prepare for next development iteration
11 years ago
Justin Richer ca8a003e3d [maven-release-plugin] prepare release mitreid-connect-1.1.5
11 years ago
Justin Richer dcf36234c4 moved CSRF generator to request parser instead of confirmation controller
11 years ago
Justin Richer a253ebc908 added CSRF protection to approval page
11 years ago