Spring - Bypass Security for specific path

    @Bean
    public WebSecurityCustomizer webSecurityCustomizer() {
        return (web) -> web.ignoring().requestMatchers("/specimen/**");
    }

java

Back