스프링부트

    [SpringBoot] SpringSecurity 무한 redirect 발생

    홈페이지 메인페이지에 접속했더니 로그인 페이지가 무한 redirect 돼서 오류가 발생했다. 기존코드 - SecurityConfig @Bean SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http .csrf((csrfConfig) -> csrfConfig.disable() ) // csrf 토큰 비활성화 (테스트시 걸어두는게 좋음) .authorizeHttpRequests((authorize) -> authorize .requestMatchers("/", "/auth/**", "/js/**", "/css/**", "/img/**").permitAll() .anyRequest() .authenticated() ) .formLo..

    [Springboot] 블로그 만들기 (1)_개발 환경 구축 (MySQL사용)

    1. Oracle JDK 11 설치 오라클 사이트에 회원가입이 되어있어야 다운로드가 가능하다. https://www.oracle.com/kr/java/technologies/javase/jdk11-archive-downloads.html Java Archive Downloads - Java SE 11 | Oracle 대한민국 WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production. Fo..