pjhwin10679
@pjhwin10679
Reviews Written
2
Average Rating
5.0
Posts
Q&A
에이전트 질문 드립니다.
오늘 리뷰는 code-reviewer 에이전트가 아니라 /code-review 스킬로 실행되었습니다. 사용자: code-reviewer 서브에이전트를 활용해서 전체 코드 리뷰 → Skill tool로 "code-review" 스킬 실행 → 스킬은 메인 컨텍스트에서 실행 → 색상 없음, 메인에 표출실습 과정에서 스킬이 실행되었던거 같습니다. 재시도 해서 에이전트 동작 확인하였습니다. 감사합니다.
- Likes
- 0
- Comments
- 2
- Viewcount
- 15
Q&A
/h2-console 403 에러
이렇게 한번 해보세요.package me.silvernine.jwttutorial.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.WebSecurityCustomizer; import org.springframework.security.web.SecurityFilterChain; import org.springframework.security.web.util.matcher.AntPathRequestMatcher; //@EnableWebSecurity @Configuration // 어노테이션 없으면 작동하지 않음 public class SecurityConfig { @Bean public WebSecurityCustomizer webSecurityCustomizer() { return (web) -> web.ignoring() .requestMatchers("/h2-console/**", "/favicon.ico"); } @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { http .authorizeRequests() .requestMatchers("/api/hello").permitAll() .and() .csrf().ignoringRequestMatchers(new AntPathRequestMatcher("/h2-console/**")) .and() .headers().frameOptions().disable() ; return http.build(); } }
- Likes
- 0
- Comments
- 3
- Viewcount
- 2.4K




