Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (20 loc) · 1.18 KB

File metadata and controls

29 lines (20 loc) · 1.18 KB

DataManagement API Configuration

This module provides central configuration for all DataManagement APIs, i.e. the DataManagementApiConfiguration, which currently only contains the context alias, which all the Data 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.data.port=9191
web.http.data.path=/api/v1/data
web.http.port=8181
web.http.path=/api

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

Caution: failing to provide a web.http.data.port and web.http.data.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 DataManagement 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).