diff --git a/src/main/java/eu/dnetlib/repo/manager/config/AaiSecurityConfiguration.java b/src/main/java/eu/dnetlib/repo/manager/config/AaiSecurityConfiguration.java index 0124dee..407d6b4 100644 --- a/src/main/java/eu/dnetlib/repo/manager/config/AaiSecurityConfiguration.java +++ b/src/main/java/eu/dnetlib/repo/manager/config/AaiSecurityConfiguration.java @@ -63,7 +63,7 @@ public class AaiSecurityConfiguration extends WebSecurityConfigurerAdapter { .csrf().disable() .authorizeRequests() .regexMatchers("/actuator/.*").permitAll() - .regexMatchers("/repository/.*/metrics/?.*").permitAll() + .regexMatchers("/repositories/.*/metrics/?.*").permitAll() .regexMatchers("/metrics").permitAll() .antMatchers("/api-docs/**","/swagger-ui/**").permitAll() .anyRequest().authenticated()