13423 Commits

Author SHA1 Message Date
Sebastian Sdorra
04e95abfab encode unique keys with Base62 for shorter keys 2012-09-05 16:05:55 +02:00
Sebastian Sdorra
e8d92f485c added classes for Base32 and Base62 encoding and decoding 2012-09-05 16:05:07 +02:00
Sebastian Sdorra
2e674beef2 added test for repository permissions 2012-09-02 17:58:23 +02:00
Sebastian Sdorra
752b323dd6 fix typo in unit test 2012-09-02 17:52:13 +02:00
Sebastian Sdorra
8bd8371679 added test for repository permission resolver 2012-09-02 17:51:32 +02:00
Sebastian Sdorra
53d44fdfc5 permission type enum is always upper case 2012-09-02 17:48:09 +02:00
Sebastian Sdorra
a94a2bf774 fix possible duplicate keys 2012-09-02 17:14:56 +02:00
Sebastian Sdorra
d7c7814f04 merge with branch issue-236 2012-09-02 16:55:49 +02:00
Sebastian Sdorra
8e81fe723b close branch issue-236 2012-09-02 16:55:18 +02:00
Sebastian Sdorra
80eb0f71ca fix some ie callback errors 2012-08-31 17:17:15 +02:00
Sebastian Sdorra
e090707403 merge with branch issue-235 2012-08-31 08:13:37 +02:00
Sebastian Sdorra
ce4e465b08 close branch issue-235 2012-08-31 08:13:16 +02:00
Sebastian Sdorra
e58084576f update google guava to version 13.0.1 2012-08-30 17:36:59 +02:00
Sebastian Sdorra
6fee63203f create new key generator for shorter repository ids 2012-08-30 17:35:56 +02:00
Sebastian Sdorra
65826e749e implement administration context with apache shiro 2012-08-30 16:49:46 +02:00
Sebastian Sdorra
2a48dcf4d5 fix bug with group permissions 2012-08-30 16:34:43 +02:00
Sebastian Sdorra
1749feaf63 removed unused field 2012-08-30 16:21:31 +02:00
Sebastian Sdorra
f03517c445 remove unused imports 2012-08-30 16:20:45 +02:00
Sebastian Sdorra
7a430f5db6 groupnames and repositorypermissions should be final 2012-08-30 16:15:55 +02:00
Sebastian Sdorra
fc2e3f7c81 fix wrong return code 2012-08-30 13:42:17 +02:00
Sebastian Sdorra
a5d0a41222 fix typo in log message 2012-08-30 13:26:45 +02:00
Sebastian Sdorra
4a9d14b708 mark security context as deprecated and use shiro apis instead 2012-08-30 13:20:26 +02:00
Sebastian Sdorra
7d0980605e do not use security context in core plugins and samples 2012-08-30 12:08:16 +02:00
Sebastian Sdorra
c40cbeb4d6 mark most of the PermissionUtil methods as deprecated and ignore permission util tests 2012-08-30 11:54:36 +02:00
Sebastian Sdorra
5dde369927 use SubjectAwareExecutorService for repository hooks 2012-08-30 11:02:49 +02:00
Sebastian Sdorra
38d57ff5cd use apache shiro api for permission filter sub classes 2012-08-30 10:48:18 +02:00
Sebastian Sdorra
909c1a6c6c use shiro api for permission checks in the repository api 2012-08-30 10:43:56 +02:00
Sebastian Sdorra
3b0482657a fix missing group permission check 2012-08-30 10:40:19 +02:00
Sebastian Sdorra
81060af003 replace groups class with groupnames 2012-08-30 10:38:56 +02:00
Sebastian Sdorra
c7f11a8203 use shiro api for permission filter 2012-08-30 09:23:18 +02:00
Sebastian Sdorra
c161e54c6b enable trace logging for development 2012-08-29 19:05:30 +02:00
Sebastian Sdorra
1ab5e5610d fix wrong initializing order 2012-08-29 19:05:11 +02:00
Sebastian Sdorra
230fd1a4fb show authentication stacktrace only on trace log level 2012-08-29 18:09:09 +02:00
Sebastian Sdorra
08fe4b6eca use apache shiro api for authentication over the BasicAuthenticationFilter 2012-08-29 18:06:59 +02:00
Sebastian Sdorra
a1d83e6f82 the first (primary) principal should be a unique identifier for the user 2012-08-29 17:58:41 +02:00
Sebastian Sdorra
f657e9d55b use apache shiro api for authentication resource 2012-08-29 16:29:41 +02:00
Sebastian Sdorra
33a6645ce3 retrieve branch informations from receive command 2012-08-29 11:08:04 +02:00
Sebastian Sdorra
b70fc53571 added security constants 2012-08-29 10:21:58 +02:00
Sebastian Sdorra
625b59553d grant owner permissions to each repository for admins 2012-08-29 10:18:15 +02:00
Sebastian Sdorra
bc8b2a3644 fix possible npe in ScmRealm 2012-08-29 10:12:44 +02:00
Sebastian Sdorra
23606842a3 fix repository manager test 2012-08-29 10:05:15 +02:00
Sebastian Sdorra
5e05a1a12e use apache shiro to check repository permissions 2012-08-29 09:45:08 +02:00
Sebastian Sdorra
d9810da47c move repository permissions to scm-core 2012-08-29 09:35:28 +02:00
Sebastian Sdorra
e444d5d275 improve constructor of repository permission 2012-08-29 09:32:13 +02:00
Sebastian Sdorra
2ddfe06a54 BasicSecurityContext should not throw AuthenticationException, to not break existing behavior 2012-08-29 09:27:55 +02:00
Sebastian Sdorra
0197eb6f07 fix npe on wrong password 2012-08-28 18:34:24 +02:00
Sebastian Sdorra
761c0b215e BasicSecurityContext should wrap apache shiro api for compatibility reasons 2012-08-27 08:05:46 +02:00
Sebastian Sdorra
7b3dfd3ce2 bind new security api 2012-08-27 08:04:44 +02:00
Sebastian Sdorra
585a2559ce clear cache only on a post event 2012-08-27 08:00:16 +02:00
Sebastian Sdorra
2030a643d4 use groups class 2012-08-27 07:50:32 +02:00