Commit Graph

210 Commits

Author SHA1 Message Date
René Pfeuffer
fbd6f4f3c7 Introduce filter parameter in Manager 2019-04-09 13:09:16 +02:00
René Pfeuffer
9833bfd34d Merge with 2.0.0-m3 2019-03-29 11:54:17 +01:00
René Pfeuffer
00b27b5488 Close repositories after usage 2019-03-29 11:47:44 +01:00
René Pfeuffer
b1547d2b69 Harmonize user and group name validation, again 2019-03-25 15:41:21 +01:00
Sebastian Sdorra
dbdbe2fcf7 fixes SyncingRealmHelper not providing internal groups (from xml) 2019-03-14 17:42:27 +01:00
Sebastian Sdorra
7a171c8730 do not allow slashes ("/") in repository names 2019-03-12 08:27:57 +01:00
René Pfeuffer
b537a2a2ba Fix deletion of permissions after modification
Permissions could not be deleted, when they were modified (eg. change
of role or of verbs).
2019-03-01 14:10:39 +01:00
René Pfeuffer
5d601293bf Create external group names claim in token builder directly 2019-02-15 10:23:46 +01:00
René Pfeuffer
75239a0104 Support groups from external authentication resources 2019-02-14 15:42:27 +01:00
Sebastian Sdorra
ad4277ba41 merge with 2.0.0-m3 2019-02-05 16:50:14 +01:00
Sebastian Sdorra
18b64ebde2 fix GZipResponseFilter b using the HttpServletRequest to check if the client supports gzip 2019-02-05 16:47:22 +01:00
René Pfeuffer
7369f1cfce Ensure that verbs occur only once in the collection
This is necessary for equals to work correctly
2019-02-04 16:33:03 +01:00
Sebastian Sdorra
21441aed45 added appendEmbedded method to HalAppender
With this change we could not longer use @AfterMapping from MapStruct.
We should use @ObjectFactory instead and create Links and Embedded before.
2019-02-04 16:18:47 +01:00
Sebastian Sdorra
462cccb443 rename HalAppender methods to make clear, that they target links 2019-02-04 14:41:07 +01:00
Sebastian Sdorra
a180f9b795 rename LinkEnricher to HalEnricher 2019-02-04 14:39:29 +01:00
Sebastian Sdorra
145ac7a8d8 remove direct dependencies to apache beanutils and commons collections 2019-01-31 15:53:19 +01:00
Sebastian Sdorra
8bf82213b8 remove unused imports 2019-01-30 14:48:37 +01:00
Sebastian Sdorra
e5e4ae9ac9 fix gzip filter on resteasy 3.6.2 2019-01-30 13:43:29 +01:00
René Pfeuffer
9898cd3721 Fix authorization events 2019-01-23 15:00:48 +01:00
René Pfeuffer
707d63426b Remove enum PermissionType 2019-01-22 13:28:52 +01:00
Sebastian Sdorra
3bd1cbf53d added option to define extra groups for AccessToken 2019-01-21 14:27:14 +01:00
Sebastian Sdorra
c69c8028c9 added new api to simplify the process of appending links to json responses 2019-01-03 09:46:48 +01:00
René Pfeuffer
53eab1dc4b Merged in feature/changes-for-cas-plugin (pull request #135)
Changes for cas plugin
2018-12-18 14:57:00 +00:00
Sebastian Sdorra
4c0f993293 added jaxb adapter for instant objects 2018-12-18 09:26:51 +01:00
René Pfeuffer
c0ba6984e9 Add unit test 2018-12-14 16:51:40 +01:00
Sebastian Sdorra
675f417d45 fix resultHasMediaType for camel case media types 2018-12-11 15:14:59 +01:00
Sebastian Sdorra
f74a89c9d8 do not allow "." as part of repository ids 2018-11-30 11:04:33 +01:00
Sebastian Sdorra
53be8b112b avoid path traversal attack 2018-11-30 08:11:26 +01:00
Sebastian Sdorra
e9401624a7 re implement XmlRepositoryDAO 2018-11-28 19:49:55 +01:00
René Pfeuffer
d4db39755f Harmonize repository resolution 2018-11-27 15:31:57 +01:00
René Pfeuffer
282b5687a6 Query initial repository location only once at creation 2018-11-23 16:34:38 +01:00
René Pfeuffer
1e655e9c97 Fix creation of root repository folder
The root folder has to be created with FileSystem, not only the data
directory
2018-11-23 13:58:39 +01:00
René Pfeuffer
27b5be5391 Remove test for deleted class 2018-11-23 10:43:23 +01:00
René Pfeuffer
20f5e7be1f Cleanup usage of InitialRepositoryLocationResolver and RepositoryLocationResolver 2018-11-22 17:06:29 +01:00
René Pfeuffer
00e3cbec57 Refactor directories in RepositoryPath and dao 2018-11-22 12:29:26 +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
6eb3c38655 Create error response for already existing entities 2018-10-25 15:31:42 +02:00
René Pfeuffer
46846673ae Merge with 2.0.0-m3 2018-10-17 13:58:53 +02:00
Mohamed Karray
d2dbccb80c remove throws NotFoundException and fix modify password 2018-10-16 10:47:52 +02:00
René Pfeuffer
83640b9d44 Merge with 2.0.0-m3 2018-10-10 08:54:23 +02:00
Sebastian Sdorra
e5a3cbb50e change browse api in order to build a tree base file structure 2018-10-08 14:38:27 +02:00
Mohamed Karray
c1c1c5b984 merge 2018-10-02 13:20:55 +02:00
Sebastian Sdorra
fe93d8baa6 added unit tests for JsonEnricher 2018-10-02 08:04:39 +02:00
Mohamed Karray
b33b72aa80 remove the rest/ path from endpoints 2018-10-01 17:22:03 +02:00
René Pfeuffer
cd344664aa Test permission filter 2018-09-14 11:30:05 +02:00
René Pfeuffer
e88639ab81 Implement permission filters as decorator for servlets 2018-09-14 10:21:00 +02:00
René Pfeuffer
145502a7b8 Introduce extension point for further protocol implementations 2018-09-13 10:35:10 +02:00
René Pfeuffer
f47c5ef16f Replace MockProvider test helper with guice class 2018-09-12 12:05:24 +02:00
René Pfeuffer
ef28350ce3 Handle missing request scope for url computation 2018-09-12 11:43:29 +02:00