From 414ccb165830e1be176b406d0cf4ddef3fe92929 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Prunayre?= Date: Thu, 12 Dec 2024 14:34:57 +0100 Subject: [PATCH] Gateway / GN4 route / Enable security by default. Will work fine with https://github.com/geonetwork/core-geonetwork/pull/8559 --- config/application.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/application.yml b/config/application.yml index 6af004fe..5a3917cc 100644 --- a/config/application.yml +++ b/config/application.yml @@ -100,6 +100,8 @@ spring: uri: ${geonetwork.core.url} predicates: - Path=/geonetwork/** + filters: + - addSimpleGn4SecurityHeader=gn5.to.gn4.trusted.json.auth batch: jdbc: initialize-schema: always