From 8b41563274cd16563db21091dbbac40661f43b2e Mon Sep 17 00:00:00 2001 From: Iliescu Cristian-Mihai Date: Tue, 30 May 2023 10:49:46 +0300 Subject: [PATCH] changed the url pattern for filter Signed-off-by: Iliescu Cristian-Mihai --- .../serverchassis/springboot/OMAGServerPlatform.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open-metadata-implementation/server-chassis/server-chassis-spring/src/main/java/org/odpi/openmetadata/serverchassis/springboot/OMAGServerPlatform.java b/open-metadata-implementation/server-chassis/server-chassis-spring/src/main/java/org/odpi/openmetadata/serverchassis/springboot/OMAGServerPlatform.java index 1b57318d4ad..c90c88acf09 100644 --- a/open-metadata-implementation/server-chassis/server-chassis-spring/src/main/java/org/odpi/openmetadata/serverchassis/springboot/OMAGServerPlatform.java +++ b/open-metadata-implementation/server-chassis/server-chassis-spring/src/main/java/org/odpi/openmetadata/serverchassis/springboot/OMAGServerPlatform.java @@ -276,7 +276,7 @@ public FilterRegistrationBean getRequestHeadersFilter( FilterRegistrationBean registrationBean = new FilterRegistrationBean<>(); registrationBean.setFilter(new HttpRequestHeadersFilter(headerNames)); - registrationBean.addUrlPatterns("/open-metadata/*"); + registrationBean.addUrlPatterns("/servers/*"); registrationBean.setOrder(1); return registrationBean;