diff options
author | 2025-01-06 15:58:29 +0100 | |
---|---|---|
committer | 2025-01-27 15:37:47 +0100 | |
commit | 6288d8cc35c4c96ae1f9e5f1e0f16572d0d19c03 (patch) | |
tree | 593bbe0c61712a6575ceb0bd28441853d086e760 /aai-traversal/src/test/resources/it/application-keycloak-test.properties | |
parent | 9fc9301f3e5b3ad96fdf180e662bd42f2b84c56b (diff) |
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 <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'aai-traversal/src/test/resources/it/application-keycloak-test.properties')
-rw-r--r-- | aai-traversal/src/test/resources/it/application-keycloak-test.properties | 16 |
1 files changed, 0 insertions, 16 deletions
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 |