로그인 - MemberToken init 방식 수정

This commit is contained in:
2023-08-04 21:51:46 +09:00
parent a009a728a8
commit 03d782850c
2 changed files with 3 additions and 3 deletions

View File

@@ -61,6 +61,8 @@ class SecurityConfig(
.sessionManagement()
.sessionCreationPolicy(SessionCreationPolicy.STATELESS)
.and()
.addFilterBefore(jwtFilter, UsernamePasswordAuthenticationFilter::class.java)
.addFilterBefore(ExceptionHandlerFilter(objectMapper), JwtFilter::class.java)
.authorizeRequests()
.antMatchers("/member/check/email").permitAll()
.antMatchers("/member/check/nickname").permitAll()
@@ -71,8 +73,6 @@ class SecurityConfig(
.antMatchers("/stplat/privacy_policy").permitAll()
.anyRequest().authenticated()
.and()
.addFilterBefore(jwtFilter, UsernamePasswordAuthenticationFilter::class.java)
.addFilterBefore(ExceptionHandlerFilter(objectMapper), JwtFilter::class.java)
.build()
}
}