add CAS authentication #138

Merged
hsh-michaelhoennig merged 24 commits from feature/add-cas-authentication into master 2024-12-23 12:49:46 +01:00

24 Commits

Author SHA1 Message Date
Michael Hoennig
01e4929f8b fix visible password in cas-curl --trace 2024-12-23 12:47:45 +01:00
Michael Hoennig
ab8e99cd90 rename hsadmin-ng -> cas-curl 2024-12-23 09:46:35 +01:00
Michael Hoennig
fcb003ac99 do not echo password 2024-12-23 09:41:50 +01:00
Michael Hoennig
574fb92b9a HSADMINNG_CAS_SERVICE_ID + hsadmin-ng commands case insensitive 2024-12-23 09:36:44 +01:00
Michael Hoennig
88952bef7d add @Timed("app.cas.authenticate") 2024-12-21 18:33:01 +01:00
Michael Hoennig
178b3cc515 rename hsadmin-ng to cas-curl 2024-12-21 16:23:13 +01:00
Michael Hoennig
f11b0c93e1 remove hardcoded CAS user and add --fail-with-body to curl 2024-12-21 16:04:40 +01:00
Michael Hoennig
1bfa404f92 improved help 2024-12-21 15:54:32 +01:00
Michael Hoennig
2ebf4ea618 read HSADMINNG_CAS_USERNAME + HSADMINNG_CAS_PASSWORD if missing in env 2024-12-21 15:51:17 +01:00
Michael Hoennig
3b9f48cfd6 add hsadmin-ng culr wrapper with CAS 2024-12-21 15:30:16 +01:00
Michael Hoennig
6c38a328f3 disable CSRF 2024-12-21 15:17:20 +01:00
Michael Hoennig
3a4f068528 implement bypassing CAS-authentication and adding admin accounts 2024-12-21 14:24:41 +01:00
Michael Hoennig
57a710fc24 refactor to avoid dependency cycles 2024-12-20 17:19:09 +01:00
Michael Hoennig
3f7df2bc81 remove authentication from ScenarioTests 2024-12-20 16:54:42 +01:00
Michael Hoennig
2c1a5f5933 fetch username from CAS validation response 2024-12-20 16:44:06 +01:00
Michael Hoennig
07dcf96ee5 don't wire Wiremock in scenariotests 2024-12-20 15:46:35 +01:00
Michael Hoennig
a41430eea9 fi most tests 2024-12-20 14:22:52 +01:00
Michael Hoennig
9ed2b79fe3 fix ping test 2024-12-20 13:14:30 +01:00
Michael Hoennig
69ab43a01c add missing wiremock lib 2024-12-20 12:31:07 +01:00
Michael Hoennig
d359ae1693 introduce interface Authenticator 2024-12-20 12:30:50 +01:00
Michael Hoennig
ee001b520c fix most tests with improved fake CAS-validator and use WireMock 2024-12-20 11:18:35 +01:00
Michael Hoennig
695341c3dc add FIXMEs 2024-12-18 17:22:00 +01:00
Michael Hoennig
2338c3cc57 do not require CAS service ticket for tests 2024-12-18 17:20:33 +01:00
Michael Hoennig
2ec44f1a43 fake-CAS integration for tests 2024-12-18 17:14:48 +01:00