Commit Graph

1838 Commits

Author SHA1 Message Date
René Pfeuffer
c328a94147 Handle invalid tokens
Eg. after deletion of user signing keys for JWT tokens, resolving
tokens throws an Authentication Exception. This must be caught.
2018-12-06 08:13:55 +01:00
René Pfeuffer
244586e121 Add documentation 2018-12-05 17:03:02 +01:00
René Pfeuffer
ea35469008 Add merge links to repository resource 2018-12-05 16:46:31 +01:00
René Pfeuffer
7900b94011 Add resource for merges 2018-12-05 13:52:14 +01:00
Sebastian Sdorra
16eb433618 Merged in feature/jwt_refresh (pull request #121)
Feature JWT Refresh
2018-12-05 09:14:16 +00:00
René Pfeuffer
3021bea65a Multiply floating store factories for type safety 2018-12-04 08:56:39 +01:00
René Pfeuffer
33f3216164 Make type optional 2018-12-03 16:30:19 +01:00
René Pfeuffer
44d99f55f2 Do no longer expose StoreParameters 2018-12-03 12:28:35 +01:00
René Pfeuffer
3638d3520f Use static method for new StoreParameters instance 2018-12-03 11:28:03 +01:00
René Pfeuffer
ab8b3bae42 Merge with 2.0.0-m3 2018-12-03 08:28:47 +01:00
René Pfeuffer
581e6a9bff Fix extension point injection 2018-12-03 08:20:41 +01:00
René Pfeuffer
e30d32f1cd Test things 2018-12-01 20:46:05 +01:00
René Pfeuffer
80ce5af12a Log token refresh 2018-11-30 17:25:53 +01:00
René Pfeuffer
58268f88db Fix refresh strategy 2018-11-30 17:19:59 +01:00
René Pfeuffer
aec5520e57 Implement simple JWT refresh filter 2018-11-30 16:57:04 +01:00
René Pfeuffer
c5fe9a123a Merge 2.0.0-m3 2018-11-30 15:17:44 +01:00
René Pfeuffer
043be9f47b Add filter for token refresh 2018-11-30 12:55:48 +01:00
René Pfeuffer
57753e4de0 Add default refresh strategy 2018-11-30 11:35:20 +01:00
René Pfeuffer
205ca42e09 Introduce simple refresh strategy 2018-11-30 11:18:37 +01:00
René Pfeuffer
2e092b36cf Suppress warning 2018-11-30 10:20:12 +01:00
René Pfeuffer
e8672bbeff Keep refresh expiration 2018-11-30 10:15:12 +01:00
René Pfeuffer
46f9473083 Compute new expiration from old expiration 2018-11-30 10:05:43 +01:00
René Pfeuffer
0f6b9ba891 Inject clocks for tests 2018-11-30 09:43:13 +01:00
René Pfeuffer
2adcbe5d99 Set parent token id 2018-11-30 09:22:02 +01:00
René Pfeuffer
0b1edaab08 Fix time computations 2018-11-29 17:04:38 +01:00
Mohamed Karray
37f4a2b669 merge 2018-11-29 16:01:43 +01:00
Mohamed Karray
0bbe7352c2 merge 2018-11-29 15:09:00 +01:00
René Pfeuffer
c85c0229c1 First steps for JWT refresh 2018-11-29 08:01:25 +01:00
Mohamed Karray
fb79cbfd02 merge + refactor getStoreDirectory 2018-11-28 15:14:49 +01:00
René Pfeuffer
c9cbd802d4 Merge 2.0.0-m3 2018-11-27 14:39:07 +01:00
Mohamed Karray
7a1de0f67b add the interface StoreFactory and refactor storeFactories 2018-11-27 11:35:02 +01:00
Sebastian Sdorra
ed3917469b added cache-control header to api response, to fix stale data on ie11 2018-11-27 11:33:51 +01:00
René Pfeuffer
3d671caada Let dao create repository base directory before native creation 2018-11-23 15:04:59 +01:00
René Pfeuffer
b9458f47e9 Add support for custom violation exceptions 2018-11-20 11:04:30 +01:00
Mohamed Karray
39e5c19251 merge 2018-11-15 11:28:33 +01:00
Mohamed Karray
f8ae7cedf7 Refactor the repository store implementation in order to store repositories in specific paths. 2018-11-15 10:04:16 +01:00
René Pfeuffer
08af48bad1 Delete IllegalArgumentExceptionMapper
This was forgotten in error handling feature
2018-11-14 10:41:17 +01:00
René Pfeuffer
04592521ee Apply peer review results 2018-11-14 07:55:22 +01:00
René Pfeuffer
c50e78815b Remove unnecessary regex 2018-11-13 11:22:19 +01:00
René Pfeuffer
541303b351 Move annotation to corresponding module 2018-11-13 11:12:16 +01:00
René Pfeuffer
de17902fed Rename classes 2018-11-13 10:52:42 +01:00
René Pfeuffer
716b49a039 Merge with 2.0.0-m3 2018-11-13 10:36:31 +01:00
René Pfeuffer
3e99709035 Replace method interceptor with request filter 2018-11-13 09:54:28 +01:00
René Pfeuffer
96c2114e53 Reduce SecurityFilter to user injection and enable SecurityInterceptor
Remove all the unnecessary stuff and all endpoints that would be no
longer secure.
2018-11-09 16:06:31 +01:00
René Pfeuffer
afbffa5978 Fix tests for default owner permission
Therefore add explicit methods to change the permission collection
of a repository.
2018-11-09 10:13:36 +01:00
René Pfeuffer
42bf785a42 Register interceptor for web request calls 2018-11-09 08:03:58 +01:00
René Pfeuffer
bb28e53d1b Set owner permission in new repository for logged in user 2018-11-08 16:28:36 +01:00
Sebastian Sdorra
e88b4041a7 Merged in feature/validation_reflection (pull request #105)
Use reflection for validation
2018-11-08 09:37:36 +00:00
Sebastian Sdorra
2201f2436e Merged in feature/errorhandling (pull request #99)
Feature Error Handling
2018-11-08 09:36:18 +00:00
René Pfeuffer
a95815ed18 Merge with 2.0.0-m3 2018-11-07 17:42:20 +01:00