Commit Graph

1443 Commits (2aa12fc0e3cbf1d57d61d96a7a3608bcdbead754)

Author SHA1 Message Date
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
Justin Richer fcfbf1080f renamed auth request variable
11 years ago
Alexander Imfeld 7cd36b471f Make introspection endpoint access authorization pluggable.
11 years ago
Justin Richer 4b697ba909 webfinger checks host on acct: URIs, closes #404
11 years ago
Justin Richer b8129bf60d [maven-release-plugin] prepare for next development iteration
11 years ago
Justin Richer a9e34ac9bd [maven-release-plugin] prepare release mitreid-connect-1.1.4
11 years ago
Justin Richer 376403fa4a account for registration time in approval page, closes #550
11 years ago
Justin Richer 1d2f968bd1 configuration cleanup, closes #568
11 years ago
Justin Richer 318a28ddf8 added stats mock to unit tests
11 years ago
Justin Richer 521017c5c2 updated stats service to have a resettable cache triggered by other service events
11 years ago
Justin Richer 7f310400b1 simple cache for stats
11 years ago
kangelov 39509bfdc4 Performance improvement of token cleanup:
11 years ago
kangelov 265624b285 a fix for a NullPointerException whenever a client requests a client scope to be granted.
11 years ago
Justin Richer 97cd00e06c [maven-release-plugin] prepare for next development iteration
11 years ago
Justin Richer 23c7cf6996 [maven-release-plugin] prepare release mitreid-connect-1.1.3
11 years ago
Justin Richer ad5ffb64e8 [maven-release-plugin] prepare for next development iteration
11 years ago
Justin Richer 1635cf957d [maven-release-plugin] prepare release mitreid-connect-1.1.2
11 years ago
Justin Richer 53cc7ef447 Fixed audience claim on client auth assertion
11 years ago
Justin Richer 1fcef858c6 updated server discovery document to reflect new capabilities
11 years ago
Justin Richer b67121f0cd added client_secret_jwt auth method support, closes #174
11 years ago
Justin Richer 15b017992c added DELETE to token api because revocation endpoint doesn't work for this kind of management, closes #191
11 years ago
Justin Richer 89f015cf1c Updated Token API to be less leaky
11 years ago
Justin Richer dd391ebf3c Display contacts, popup for image, cleanup of more info
11 years ago
Justin Richer dab52ca8a0 enhancements to approval page
11 years ago
Justin Richer ec6a78c1ba made prompt pluralizable to comply with spec, closes #519
11 years ago
Justin Richer 9395c3802d [maven-release-plugin] prepare for next development iteration
11 years ago
Justin Richer 4f8311962a [maven-release-plugin] prepare release mitreid-connect-1.1.1
11 years ago
Justin Richer 19dbe92d4e initial support for displaying claim values for requested scopes
11 years ago
Justin Richer 3b52ce8201 happy new year!
11 years ago
Justin Richer ebbc7209aa automated code formatting and cleanup
11 years ago
Justin Richer e1e7f7a579 [maven-release-plugin] prepare for next development iteration
11 years ago
Justin Richer 42fe973f7b [maven-release-plugin] prepare release mitreid-connect-1.1.0
11 years ago
Justin Richer 4a8d693746 fixed prompt filter map mismatch (I hate type erasure)
11 years ago
Justin Richer ce1f3f2f94 updated mockito, fixed some unit tests
11 years ago
Justin Richer d330bd1c9b cleanup, added revocation uri to server config
11 years ago
Justin Richer ed06b14406 publish revocation endpoint, addresses #520
11 years ago
Justin Richer b7011f508e urlencode client IDs in client registration URIs, addresses #422
11 years ago
Justin Richer 8c1bfb7e0c set current user's email address to owner when using admin UI
11 years ago
Justin Richer 6c4d2a8e8d vestigial comment cleanup
11 years ago
Justin Richer db5532e9bf comment cleanup
11 years ago
Justin Richer 39fb96a802 pull request from extensions map
11 years ago