From 6288d8cc35c4c96ae1f9e5f1e0f16572d0d19c03 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Mon, 6 Jan 2025 15:58:29 +0100 Subject: Make aai-common agnostic of the embedded server (remove jetty-specific code) - replace custom authorization webfilter with spring security - make users configurable via aai.basic-auth.users[] in application.properties - remove Keycloak integration [0] [0] for the following reasons: - integration test (MultiTenancyTest) already not working - dependency is ancient (uses 11, 26 is available as of writing) - keycloak autoconfiguration is in conflict with spring security - keycloak-specific starters have been deprecated and users are advised to use the out-of-the-box spring OIDC integration [1] - there is no (and likely never will be a) starter that is compatible with spring-boot 3 [1] https://www.keycloak.org/2023/03/adapter-deprecation-update Issue-ID: AAI-4100 Change-Id: Ic49174adce29dbc43d1e7d0a99bf699f1e77f77e Signed-off-by: Fiete Ostkamp --- .../resources/it/application-keycloak-test.properties | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 aai-traversal/src/test/resources/it/application-keycloak-test.properties (limited to 'aai-traversal/src/test/resources/it/application-keycloak-test.properties') diff --git a/aai-traversal/src/test/resources/it/application-keycloak-test.properties b/aai-traversal/src/test/resources/it/application-keycloak-test.properties deleted file mode 100644 index 632ec81..0000000 --- a/aai-traversal/src/test/resources/it/application-keycloak-test.properties +++ /dev/null @@ -1,16 +0,0 @@ -test.keycloak.realm.json=it/multi-tenancy-realm.json -test.keycloak.client.secret=secret -test.keycloak.admin.cli=admin-cli -test.keycloak.auth-server-port=58181 - -keycloak.auth-server-url=http://localhost:58181/auth -keycloak.realm=aai-resources -keycloak.resource=aai-resources-app -keycloak.public-client=true -keycloak.principal-attribute=preferred_username - -keycloak.ssl-required=external -keycloak.bearer-only=true - -multi.tenancy.enabled=true -spring.profiles.active=production,keycloak -- cgit