83 Commits

Author SHA1 Message Date
AFaust
4096f741a5 Revise Share token exchange handling
- retry if refresh of exchanged token yields invalid token (wrong
  audience - known case of apparently incorrect Keycloak behaviour)
- use custom header instead of redirect patch to have Repository tier not
  redirect to Keycloak login page on unauthenticated access from Share
- activate audience verification which is inactive with Keycloak class
  defaults
2020-06-05 14:52:18 +02:00
AFaust
399419068f Update Acosix dependencies; fix use of deprecated API 2020-06-05 14:52:07 +02:00
AFaust
30a87ac620 Generate source JARs for shaded dependencies 2020-06-05 14:34:30 +02:00
AFaust
ad82e9dbe0 Update Keycloak version; fix minor issues / ensure minimal plugins enabled
- despite not yet having any integration tests, Repository-tier Docker
  startup needed fixing due to missing Acosix Utility dependency
2020-05-10 15:48:07 +02:00
AFaust
3c71bf6df1 Remove aggressive default for direct auth server access 2020-05-10 15:06:35 +02:00
AFaust
3f2b3511da Fix typo in web-fragment 2020-05-10 15:05:54 +02:00
AFaust
53e05606b9 Re-add snapshot for development until next rc 2020-05-10 15:05:35 +02:00
AFaust
390ca566a3 Translate input to preferred user name 2020-05-10 15:04:57 +02:00
AFaust
d10ff3ddd5 Release candidate r010100-rc 2020-03-08 20:59:47 +01:00
AFaust
be6e807f66 Fix imports 2020-03-08 20:59:02 +01:00
AFaust
9e8d709399 Support role exclusion patterns; default excl. on tech. roles 2020-03-08 20:13:57 +01:00
AFaust
f8bdd8ce43 Custom Bearer handling in Share 2020-03-08 20:12:32 +01:00
AFaust
0deb5ee8a8 Improved handling of no-auth web script call in pre-authed session 2020-02-24 23:34:46 +01:00
AFaust
2423d365f9 Basic handling; configurable public API coverage + original URL header 2020-02-21 23:39:31 +01:00
AFaust
94b1253f56 Enhance authority display name 2020-02-20 19:11:38 +01:00
AFaust
d5cfe4a131 Deal with Public v1 ReST API auth 2020-02-20 19:11:20 +01:00
AFaust
55184fe219 Minor ticket refresh / role permission improvements 2020-02-20 01:52:34 +01:00
AFaust
5e7e439e19 Ensure request context is always set 2020-02-18 01:34:06 +01:00
AFaust
8037689598 More flexible 'freshLogin' handling on Bearer token 2020-02-18 01:33:34 +01:00
AFaust
0fa088f49d Avoid infinite recursion due proxy bean inheritance 2020-02-17 23:56:33 +01:00
AFaust
b926431d68 Fix token handling due web script remote re-auth
- RemoteUserAuthenticator may re-run KeycloakRemoteUserMapper for Bearer
  authentication
- RemoteUserAuthenticator simply re-sets current user without running
  through regular ticket validation hoops (which we already covered)
- need authentication listener to hook into triggered event for
  re-processing access token
- this adds hard-dependency to full acosix-utility module, which is
  extremely unfortunate - TODO: Move authenticator listener patch
  (enabling multiple listeners) into utility core, since it can be
  reasonably considered a non-invasive, baseline patch (does not alter
  core behaviours) relevant for potentially multiple extensions, which
  should not necessitate dependency on full utility module with its
  accompanying set of (more or less) invasive patches
2020-02-17 10:43:45 +01:00
AFaust
9d9f665f29 Add token exchange support for Share/Repo integration 2020-02-17 02:03:57 +01:00
AFaust
32c4fabff0 Some fixups 2020-02-16 16:35:37 +01:00
AFaust
146f91f011 Enable roles for authority lookup / permission management 2020-02-16 15:01:59 +01:00
AFaust
0f974c9f1d Fix Share working with recent Repository improvements 2020-02-15 01:33:49 +01:00
AFaust
1a5c3400f6 Remove POM-derived files 2020-02-15 01:32:43 +01:00
AFaust
cb9f6c95af Improve role mapping 2020-02-14 02:11:39 +01:00
AFaust
961eb8b3d9 Update dependencies 2020-02-14 02:10:28 +01:00
AFaust
d82a93f83e Basic working state of repo-tier subsystem
- supports synch of users / groups
- supports configurable / extensible attribute mapping
- supports configurable / extensible filtering
- supports claim / role mapping
- supports Keycloak auth redirect, Bearer and Basic authentication
- bundles newer Keycloak libraries than Alfresco default via shaded
  dependency artifacts
2020-01-22 15:18:40 +01:00
AFaust
ad7f404846 General working Keycloak filter state 2019-11-15 17:05:34 +01:00
AFaust
d857dbc9a3 Safe reflection via setter + unit test config elements 2019-09-15 20:25:25 +02:00
AFaust
fe3710cb6f Readme fix 2019-08-21 00:08:47 +02:00
AFaust
2db4aaddbe Initial version r010000 2019-08-21 00:01:40 +02:00