[Developer] #424 expose ORDS probes as MCP SSE tools

This commit is contained in:
devmrko
2026-06-25 15:22:51 +09:00
parent bea010adff
commit 28383b952d
6 changed files with 326 additions and 0 deletions

View File

@@ -16,9 +16,12 @@ public class SecurityConfig {
@Bean
SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
return http
.csrf(csrf -> csrf.ignoringRequestMatchers("/mcp/messages"))
.authorizeHttpRequests(auth -> auth
.requestMatchers("/css/**", "/js/**", "/webjars/**").permitAll()
.anyRequest().authenticated())
.httpBasic(basic -> {
})
.formLogin(login -> login
.loginPage("/login")
.permitAll())