Sebastian Sdorra
7429a90424
fix broken build
2017-01-13 06:43:59 +01:00
Sebastian Sdorra
4e62f9552a
re implement xsrf protection for scm-manager 2.0.0
2017-01-12 22:16:14 +01:00
Sebastian Sdorra
46d8b58810
introduce TokenClaimsEnricher and TokenClaimsValidator api
2017-01-12 22:04:19 +01:00
Sebastian Sdorra
0a22bc9919
remove merge comments
2017-01-12 20:51:55 +01:00
Sebastian Sdorra
fc6287fd40
remove deprecations and fixed some compiler warnings
2017-01-12 20:02:06 +01:00
Sebastian Sdorra
bad99919f4
merge with branch 1.x
2017-01-12 19:50:39 +01:00
Sebastian Sdorra
5332ac2466
refactor store api
2016-12-11 21:31:05 +01:00
Sebastian Sdorra
837df4b87c
fix injection with java 8
2016-12-11 21:30:33 +01:00
Sebastian Sdorra
bcc89244fa
fix java 8 build
2016-12-11 20:22:06 +01:00
Sebastian Sdorra
62ca20f6b1
fix typo
2016-12-11 19:30:18 +01:00
Sebastian Sdorra
009fea3ad4
use lambdas and added javadoc to unit test
2016-12-11 19:24:41 +01:00
Sebastian Sdorra
e76862fc47
improve unit tests of DefaultRepositoryManager
2016-12-11 13:02:59 +01:00
Sebastian Sdorra
f635b1b65f
set java level to 1.8
2016-12-11 10:48:28 +01:00
Sebastian Sdorra
4f124691d0
use shiro-unit for manager permission tests
2016-12-08 22:08:11 +01:00
Sebastian Sdorra
c673b0fb10
replace admin role check from SecurityUtil with permission checks
2016-12-08 07:56:40 +01:00
Sebastian Sdorra
4cfc29144d
removed unused repository
2016-12-08 07:54:20 +01:00
Sebastian Sdorra
64581e1f75
use already exists exceptions always with an appropriate message
2016-12-07 22:40:24 +01:00
Sebastian Sdorra
3709ce7602
fix typo
2016-12-07 22:28:06 +01:00
Sebastian Sdorra
2a6f51fa6d
added message to GroupAlreadyExistsException
2016-12-07 22:24:59 +01:00
Sebastian Sdorra
d3adf8a893
use GroupPermissions for DefaultGroupManager
2016-12-07 22:22:53 +01:00
Sebastian Sdorra
26ece65363
use ssp for user and repository permission checks
2016-12-06 22:04:13 +01:00
Sebastian Sdorra
b5aaf1ca4e
merge with branch issue-887
2016-12-06 19:25:17 +01:00
Sebastian Sdorra
70bd1ea227
close branch issue-887
2016-12-06 19:24:47 +01:00
Sebastian Sdorra
0a47d5946a
added unit test for storing and loading of default cipher key
2016-11-29 20:46:30 +01:00
Sebastian Sdorra
634061a91d
refactoring DefaultCipherHandler and added javadoc to CipherHandler
2016-11-29 20:36:11 +01:00
Sebastian Sdorra
a546246fc1
fix wrong key usage during encoding in DefaultCipherHandler, see issue #887
2016-11-29 20:11:03 +01:00
Sebastian Sdorra
526d79b96d
[maven-release-plugin] prepare for next development iteration
2016-11-24 14:11:36 +01:00
Sebastian Sdorra
c358bce1fd
[maven-release-plugin] copy for tag 1.50
2016-11-24 14:11:36 +01:00
Sebastian Sdorra
0bbea7a47a
[maven-release-plugin] prepare release 1.50
1.50
2016-11-24 14:11:36 +01:00
Sebastian Sdorra
5678520b59
fix hidden help text on default branch configuration
2016-11-24 14:03:14 +01:00
Sebastian Sdorra
dea1c915eb
merge with branch issue-873
2016-11-24 13:38:30 +01:00
Sebastian Sdorra
d940c2e9b9
fix release build
2016-11-10 22:14:29 +01:00
Sebastian Sdorra
8628fd9e11
refactor CacheClearHook of RepositoryServiceFactory
2016-11-10 22:05:24 +01:00
Sebastian Sdorra
5cb32b268f
#873 clear repository caches, if the git default branch has changed
2016-11-10 21:56:27 +01:00
Sebastian Sdorra
0c0bdfa376
#873 added default branch chooser to git settings
2016-11-10 20:54:20 +01:00
Sebastian Sdorra
f2137bd761
#873 added reusable components for branch and tag combo boxes
2016-11-10 19:48:13 +01:00
Sebastian Sdorra
df7b554b80
#873 implemented default branch repository property for git
2016-11-10 19:28:46 +01:00
Sebastian Sdorra
807eccf459
added unit tests for security filters
2016-11-05 19:46:32 +01:00
Sebastian Sdorra
aa11ee9a23
merge with branch issue-877
2016-10-31 22:17:18 +01:00
Sebastian Sdorra
70a2b52e97
close branch issue-877
2016-10-31 22:16:44 +01:00
Sebastian Sdorra
da8c997f59
added primary principal as request attribute, see issue #877
2016-10-31 22:16:21 +01:00
Sebastian Sdorra
891e9ca59f
merge with branch issue-870
2016-10-18 20:52:26 +02:00
Sebastian Sdorra
bde4dd48b2
close branch issue-870
2016-10-18 20:51:54 +02:00
Sebastian Sdorra
c6f66c1a32
merge with branch issue-859
2016-10-03 10:53:26 +02:00
Sebastian Sdorra
51e1fe6ecb
close branch issue-859
2016-10-03 10:52:47 +02:00
Sebastian Sdorra
264a1af634
treat HEAD, OPTIONS and TRACE as mercurial read requests not only GET, see issue #859
2016-09-30 22:23:14 +02:00
Sebastian Sdorra
b69d1b3ed3
send http status code 401 unauthorized on failed git authentication, see issue #870
...
Revert use of GitSmartHttpTools to send unauthoried errors back to the git client, because the password is stored in the git credentials store event if the username or password was invalid. Switch back to default method, which send http status code 401 back to the client. This method does not send the customized client message, but the default one from git is good enough.
2016-09-30 21:07:23 +02:00
Sebastian Sdorra
d5fda27c33
fix java.lang.NoClassDefFoundError org/w3c/dom/ElementTraversal
2016-09-30 20:02:55 +02:00
Sebastian Sdorra
5c5d249063
merge with branch issue-865
2016-09-30 19:46:03 +02:00
Sebastian Sdorra
6a917f03a6
close branch issue-865
2016-09-30 19:45:21 +02:00