Florian Scholdei
f1b34eb502
Changeover to MIT license ( #1066 )
...
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md
Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com >
2020-03-23 15:35:58 +01:00
Eduard Heimbuch
7e1e77af2b
remove enunciate since we are using openapi now
2020-02-24 13:36:34 +01:00
Sebastian Sdorra
a36551597d
fix deprecation warning of Jackson ISO8601DateFormat
2020-02-04 15:27:30 +01:00
Eduard Heimbuch
d69e93406c
use static method to check if subject is anonymous
2019-10-14 16:21:14 +02:00
Eduard Heimbuch
eb684a3b1d
only map authorizationException to forbidden if user is not _anonymous
2019-10-14 10:18:26 +02:00
René Pfeuffer
c6436da455
Remove old AbstractManagerResource
2019-04-09 12:14:32 +02:00
René Pfeuffer
290f8466eb
Delete old 1.x resources
2019-04-08 11:10:34 +02:00
Sebastian Sdorra
7c6bfdaaac
removes admin role
2019-03-21 10:46:11 +01:00
René Pfeuffer
90635f9743
Add logging for missing permission
2019-03-11 10:55:50 +01:00
Philipp Czora
4e72b3686c
Added NotAllowedExceptionMapper
2019-02-06 14:23:25 +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
eba07dc006
merge repository heads
2019-01-29 16:01:36 +01:00
Sebastian Sdorra
b231499cd0
merge with branch 1.x
2019-01-29 09:42:03 +01:00
René Pfeuffer
707d63426b
Remove enum PermissionType
2019-01-22 13:28:52 +01:00
René Pfeuffer
f1692aa1c7
Cleanup security system
...
- remove probably unused methods
- use sets instead of lists
- remove old REST resource
2019-01-16 14:19:11 +01:00
René Pfeuffer
a9c5df1403
Merge with 2.0.0-m3
2018-12-14 17:23:22 +01:00
Philipp Czora
0af5d3901c
Renamed NotSupportedFeatureException
2018-12-13 15:31:00 +01:00
René Pfeuffer
b392e3f9d2
Fix content type for simple exception mappers
2018-12-13 09:38:41 +01:00
René Pfeuffer
d31090bcd4
Introduce generic BadRequestException
2018-12-10 18:06:13 +01:00
René Pfeuffer
08af48bad1
Delete IllegalArgumentExceptionMapper
...
This was forgotten in error handling feature
2018-11-14 10:41:17 +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
b5389023cf
Merge with 2.0.0-m3
2018-11-07 16:43:26 +01:00
René Pfeuffer
1351898399
Fix typo
2018-11-06 11:01:33 +01:00
René Pfeuffer
176cda36dc
Merge
2018-11-06 09:26:41 +01:00
René Pfeuffer
cf05235dfa
Add context to InternalRepositoryException
2018-11-06 09:14:20 +01:00
René Pfeuffer
9a1878f3e8
Add fallback exception mapper
2018-11-02 17:12:49 +01:00
René Pfeuffer
4a307379a2
Remove code duplication
2018-10-26 15:15:51 +02:00
René Pfeuffer
22069914b0
Fix injection for unit tests
2018-10-26 14:54:55 +02:00
René Pfeuffer
9279bfca5f
Use mappers for errors
2018-10-26 14:20:19 +02:00
René Pfeuffer
cd0964d850
Fix typo in class name
2018-10-26 13:07:41 +02:00
René Pfeuffer
6eb3c38655
Create error response for already existing entities
2018-10-25 15:31:42 +02:00
René Pfeuffer
d185743ef0
Create error response for concurrent modifications
2018-10-25 13:48:00 +02:00
René Pfeuffer
b74fb814b8
Introduce default error object with context for not found exceptions
2018-10-18 13:12:16 +02:00
René Pfeuffer
9bfb2cdadb
Move password logic to manager
2018-10-17 11:58:37 +02:00
Mohamed Karray
d2dbccb80c
remove throws NotFoundException and fix modify password
2018-10-16 10:47:52 +02:00
Mohamed Karray
023b362f68
add permission to modify the own password over the me and the user endpoints
2018-10-12 15:20:58 +02:00
René Pfeuffer
37ce4fbabe
Cleanup names, dead code and logging
2018-09-17 09:15:40 +02:00
René Pfeuffer
7c76f7a699
Merge with 2.0.0-m3
2018-09-13 08:17:51 +02:00
René Pfeuffer
b809abaa45
Move info initialization to filter
2018-09-12 09:23:04 +02:00
René Pfeuffer
af55bf6117
Give name to initialization
2018-09-12 09:19:52 +02:00
René Pfeuffer
7c09f35ac8
Rename UriInfoStore to ScmPathInfoStore
2018-09-12 08:53:15 +02:00
René Pfeuffer
e90dc11bc7
Cleanup for http protocol servlet changes
2018-09-11 10:50:53 +02:00
René Pfeuffer
e48a056009
Merge with 2.0.0-m3
2018-09-10 09:20:17 +02:00
Mohamed Karray
85999904b3
merge
2018-09-05 17:14:23 +02:00
René Pfeuffer
753349ae18
Log illegal argument exception before mapping to 400
2018-09-05 15:17:16 +02:00
René Pfeuffer
c4b34752b4
Fix integration tests by delegating to existing servlets
2018-09-04 20:29:17 +02:00
Mohamed Karray
56524fa460
#9208 add group permission prefix
2018-08-31 14:23:44 +02:00
Philipp Czora
05a7e6c587
Implemented handling of concurrent modification of objects
...
based on lastModified date
2018-08-29 10:39:29 +02:00
Philipp Czora
19f2c88768
Removed commented out code & formatted file
2018-08-27 15:54:37 +02:00