Elffuss BraidHub

kikocis/EDC public

Branch: main
cc2a9ff178c4 fix: return StsClient from create() (#4479) Paul Latzelsperger,
..
src/
README.md1.2 KiB
build.gradle.kts1.2 KiB

README.md

Management API Configuration

This module provides central configuration for all Management APIs, i.e. the ManagementApiConfiguration, which currently only contains the context alias, which all the Management API controllers should be registered under.

Further, this module registers an AuthenticationRequestFilter and an EdcApiExceptionMapper in the same context.

Configurations

Exemplary configuration:

web.http.management.port=9191
web.http.management.path=/api/v1/management
web.http.port=8181
web.http.path=/api

Please note that since a specific context is registered (here: management), then the default one must be registered explicitly!

Caution: failing to provide a web.http.management.port and web.http.management.path configuration will cause the AuthenticationRequestFilter and EdcApiExceptionMapper to be registered in the default context causing it to fire for EVERY request on that context including IDS communication.

Authentication

If you want to secure the Management API, you need to provide a module which implements the AuthenticationService interface (e.g. :extensions:common:auth:auth-tokenbased or :extensions:common:auth:auth-basic).