Enable Spring Boot Actuator with limited exposure and secure /actuator/mappings endpoint access.

This commit is contained in:
stijn committed 2026-07-19 00:08:46 +02:00
1 parent dde66bd608
commit 5b28f2b707
3 files changed
+3

No files matched your search

@@ -56,6 +56,7 @@ public class SecurityConfig {
auth -> auth
.requestMatchers(HttpMethod.OPTIONS, "/**").permitAll()
.requestMatchers("/api/chat/send/**").access(allowedIpCheck)
.requestMatchers("/actuator/mappings").access(allowedIpCheck)
.requestMatchers("/api/form/**").authenticated()
.requestMatchers("/api/login/getUsername").authenticated()
.requestMatchers("/api/mail/**").authenticated()