broDom
46f5002f29
refactor: replace removed Guava API calls
2017-07-05 21:23:28 +02:00
broDom
1da3c7436c
refactor: replace StreamSupport.stream(spliterator, false) with Guava's Stream.stream(iterable)
2017-07-05 21:02:17 +02:00
broDom
656288857b
refactor: remove redundant type arguments
2017-07-03 17:17:39 +02:00
broDom
efac49ccf7
style: use uppercase L instead of lowercase version for better readability
2017-07-03 17:16:54 +02:00
broDom
0cff0e7e7a
refactor: remove explicit type arguments
2017-07-03 17:12:41 +02:00
broDom
b73040771a
refactor: replace statement lambda with expression lambda
2017-07-03 17:11:32 +02:00
broDom
fb2dfce631
refactor: replace Guava's Iterables.find with Stream API
2017-07-03 17:09:50 +02:00
broDom
64b8fc8af6
refactor: replace Collections.sort with List.sort
2017-07-03 17:08:04 +02:00
broDom
397904adde
refactor: replace anonymous types with lambdas
2017-07-03 17:07:07 +02:00
broDom
e9d5b3a363
refactor: collapse identical catch blocks
2017-07-03 16:59:19 +02:00
broDom
f70745d65a
style: remove unused imports
2017-07-03 16:45:21 +02:00
Sebastian Sdorra
aec3d5d65d
merge with branch 1.x
2017-06-25 19:01:33 +02:00
Sebastian Sdorra
0b78c4eeeb
fix wrong itcase commit message
2017-06-06 11:21:05 +02:00
Sebastian Sdorra
b7568ea919
introducing new ExtensionPoint for repository path matching
...
The new ExtensionPoint was introduced to remove the tight coupling between the DefaultRepositoryManager and the GitRepositoryHandler.
Git has now its own RepositoryPathMatcher which allow the matching of repository with .git or without .git extension.
2017-06-06 10:46:44 +02:00
Sebastian Sdorra
84b15fdf89
implemented integration tests for lfs
2017-06-02 14:18:41 +02:00
Sebastian Sdorra
eb7872bb3f
execute CreateRepositoryITCase for git, subversion and mercurial
2017-05-30 09:29:50 +02:00
Oliver Milke
9b932a325e
refactor git repository matching for accepting optional .git suffix
2017-05-19 17:27:48 +02:00
Sebastian Sdorra
9c2265e956
fix conflict between rest- and apidocs
2017-05-10 09:37:31 +02:00
Sebastian Sdorra
059b681253
modify rest api assembly to match packaging before enunciate upgrade
2017-05-10 08:57:42 +02:00
Sebastian Sdorra
9ff0d1863c
improve rest api documentation of Repository, RepositoryImport, Search, SecuritySystem and User resource
2017-05-10 08:56:43 +02:00
Sebastian Sdorra
42f412faa4
improve rest api documentation of Authentication, ChangePassword, Cipher, Group, Key and Plugin resource
2017-05-09 16:06:08 +02:00
Sebastian Sdorra
9ffb07acee
update enunciate to version 2.9.1
2017-05-09 15:18:14 +02:00
Sebastian Sdorra
f4c9c35996
added support for gtld email domains, see #909
2017-04-26 11:01:18 +02:00
Sebastian Sdorra
a6120f0b16
rename SessionStore to CredentialsStore
2017-02-26 14:54:01 +01:00
Sebastian Sdorra
06b67e2c72
fixed wrong status code check i DeactivatedUserITCase integration test
2017-02-26 14:53:03 +01:00
Sebastian Sdorra
402d2cfdb7
#781 added missing unit tests for authentication related classes
2017-02-26 14:28:00 +01:00
Sebastian Sdorra
acc3ff791b
#781 process all kinds authorization relevant event and produce AuthorizationChangedEvent
2017-02-26 13:19:35 +01:00
Sebastian Sdorra
b6a49570cf
refactor AuthenticationInfoCollector
2017-02-17 23:06:05 +01:00
Sebastian Sdorra
e0e765eaa3
start refactoring of ScmRealm to simplify shiro cache integration
2017-02-17 21:36:52 +01:00
Sebastian Sdorra
731337f2ab
created adapter between scm and shiro caches, see issue #781
2017-02-16 22:15:36 +01:00
Sebastian Sdorra
e0d42d7c92
change authentication parameters to match oauth spec
2017-02-09 20:52:53 +01:00
Sebastian Sdorra
dcf62ae991
added resolver to simplify parsing and validating of access tokens
2017-01-17 17:22:55 +01:00
Sebastian Sdorra
5738fa2d66
redesign bearer tokens
2017-01-17 15:54:32 +01:00
Sebastian Sdorra
70d5942250
token enricher should use new access token api
2017-01-17 15:33:19 +01:00
Sebastian Sdorra
2388cfd35d
create a more flexible interface for the creation of access tokens
...
Provide a AccessTokenBuilderFactory to simplify the creation of access tokens and a default implementation which is based on JWT. Added also an AccessTokenCookieIssuer to unify the creation of access token cookies. Removed old BearerTokenGenerator.
2017-01-17 14:40:50 +01:00
Sebastian Sdorra
e7d6f50fd9
implement token scopes, scopes can be used to issue a token which is only suitable for a single or set explicit actions
2017-01-16 15:04:44 +01:00
Sebastian Sdorra
df6d9dacf8
implement LoginAttemptHandler for scm-manager 2
2017-01-15 20:27:06 +01:00
Sebastian Sdorra
cbc6dad0fe
fixed duplicate filter bindings
2017-01-15 19:33:22 +01:00
Sebastian Sdorra
3536c29908
added DAORealmHelperFactory to simplify the creation of dao based realms
2017-01-15 12:50:29 +01:00
Sebastian Sdorra
76384de26f
enabled xsrf be default and remove claim prefix to reduce size
2017-01-14 18:26:11 +01:00
Sebastian Sdorra
7d6d23b04d
remove unnecessary use of local storage, extract the xsrf token on every request
2017-01-14 14:03:01 +01:00
Sebastian Sdorra
f142e1a83f
merge with branch 1.x
2017-01-14 13:25:25 +01:00
Sebastian Sdorra
c149b180a1
use newer repository client api
2017-01-14 11:48:42 +01:00
Sebastian Sdorra
6e83a9a717
merge with branch 1.x
2017-01-13 22:47:54 +01:00
Sebastian Sdorra
b5d59fabd4
implement svn client provider
2017-01-13 22:38:54 +01:00
Sebastian Sdorra
86e0cba156
fix compiler warning
2017-01-13 20:22:49 +01:00
Sebastian Sdorra
ba11ed1a0f
added missing unit tests for xsrf related classes
2017-01-13 06:59:44 +01:00
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