Skip to content

Commit

Permalink
docs: 잘못된 주석 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlrude committed Oct 15, 2024
1 parent eea0962 commit f79936f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti

http.csrf().disable().cors().and()
.exceptionHandling()
.authenticationEntryPoint(jwtAuthenticationEntryPoint) // 403 (권한이 없는 사용자)
.accessDeniedHandler(jwtAccessDeniedHandler) // 401 (인증되지 않은 사용자)
.authenticationEntryPoint(jwtAuthenticationEntryPoint) // 401 (인증되지 않은 사용자)
.accessDeniedHandler(jwtAccessDeniedHandler) // 403 (권한이 없는 사용자)
.and()
.httpBasic().disable()
.sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS) // Security는 기본적으로 세션 사용하지만, jwt 사용할 것이기 때문에 STATELESS 로 설정
Expand Down

0 comments on commit f79936f

Please sign in to comment.