Spring boot Security Filter에 예외 URL 적용
String[] exceptUrl = { "/", "/error",}; OrRequestMatcher orRequestMathcers = new OrRequestMatcher(Util.getRequestMatcher(exceptUrl));NegatedRequestMatcher negatedRequestMatcher = new NegatedRequestMatcher(orRequestMathcers); @Beanpublic SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception { http.authorizeHttpRequests((requests) -> requests .requestMatchers(except..
2024.09.08