inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

순박님의 게시글

순박 순박

@pjhwin10679

수강평 작성수
2
평균평점
5.0

게시글 2

질문&답변

에이전트 질문 드립니다.

오늘 리뷰는 code-reviewer 에이전트가 아니라 /code-review 스킬로 실행되었습니다. 사용자: code-reviewer 서브에이전트를 활용해서 전체 코드 리뷰 → Skill tool로 "code-review" 스킬 실행 → 스킬은 메인 컨텍스트에서 실행 → 색상 없음, 메인에 표출 실습 과정에서 스킬이 실행되었던거 같습니다. 재시도 해서 에이전트 동작 확인하였습니다. 감사합니다.

좋아요수
0
댓글수
2
조회수
67

질문&답변

/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(); } }

좋아요수
0
댓글수
3
조회수
2391