We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
안녕하세요 교재의 챕터 08장을 공부 중에 궁금한 사항이 있어서 문의드립니다. 에러의 내용 및 자세한 동작은 아래와 같습니다.
제가 작업한 소스는 아래와 같으며 (제가 비교 검토한 바로는 현재 예제로 올려 놓으신 소스와 같고, 올려놓은신 코드도 동일한 에러가 발생합니다. 버전문제는 아닌거 같습니다. ㅠㅠ) https://github.com/colinkim/springboot-dev/tree/chapter-08/springboot-dev 에러는 첨부파일 처럼 발생하네요 감사합니다.
The text was updated successfully, but these errors were encountered:
안녕하세요. WebSecurityConfig.java 파일에서 filterChain(HttpSecurity http) 부분에서 authorizeHttpRequests를 authorizeRequests로 변경해야 합니다.
@Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { return http .**authorizeRequests**(auth -> auth .requestMatchers( new AntPathRequestMatcher("/login"), new AntPathRequestMatcher("/signup"), new AntPathRequestMatcher("/user") ).permitAll() .anyRequest().authenticated()) .formLogin(formLogin -> formLogin .loginPage("/login") .defaultSuccessUrl("/articles") ) .logout(logout -> logout .logoutSuccessUrl("/login") .invalidateHttpSession(true) ) .csrf(AbstractHttpConfigurer::disable) .build(); }
Sorry, something went wrong.
No branches or pull requests
안녕하세요
교재의 챕터 08장을 공부 중에 궁금한 사항이 있어서 문의드립니다.
에러의 내용 및 자세한 동작은 아래와 같습니다.
코드에 어디에도 "continue" 로 이동하는 것이 없는 거 같이서 이해가 안되어 문의 드립니다.
제가 작업한 소스는 아래와 같으며 (제가 비교 검토한 바로는 현재 예제로 올려 놓으신 소스와 같고, 올려놓은신 코드도 동일한 에러가 발생합니다. 버전문제는 아닌거 같습니다. ㅠㅠ)
![스크린샷 2024-05-23 오후 4 03 43](https://private-user-images.githubusercontent.com/44454459/333154487-4ca96a9a-3784-4812-a94f-c8b0000dea05.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMDM5NTIsIm5iZiI6MTcxOTEwMzY1MiwicGF0aCI6Ii80NDQ1NDQ1OS8zMzMxNTQ0ODctNGNhOTZhOWEtMzc4NC00ODEyLWE5NGYtYzhiMDAwMGRlYTA1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDAwNDczMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc5YTY1ZjMyMTg1MTQyNzAyZThkN2VhZWU3ODBhNGE5NWI1NTgxMGU0N2UwODBhOWRhMTJkODgxYTFlYmMyMDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xk5bWXO_3jLK1vvYkDe2lySaZDzLml8yHikbdl81TPQ)
https://github.com/colinkim/springboot-dev/tree/chapter-08/springboot-dev
에러는 첨부파일 처럼 발생하네요
감사합니다.
The text was updated successfully, but these errors were encountered: