File tree Expand file tree Collapse file tree 3 files changed +0
-82
lines changed
backend/src/main/java/io/f1/backend Expand file tree Collapse file tree 3 files changed +0
-82
lines changed Original file line number Diff line number Diff line change 1515import lombok .Builder ;
1616import lombok .Getter ;
1717import lombok .NoArgsConstructor ;
18- import lombok .Setter ;
1918
2019import java .time .LocalDateTime ;
2120
2221@ Getter
23- @ Setter // quizService의 퀴즈 조회 메서드 구현 시까지 임시 사용
2422@ Entity
2523@ Table (name = "`user`" )
2624@ NoArgsConstructor
Original file line number Diff line number Diff line change 66import io .f1 .backend .domain .user .app .handler .CustomAuthenticationEntryPoint ;
77import io .f1 .backend .domain .user .app .handler .OAuthSuccessHandler ;
88import io .f1 .backend .domain .user .app .handler .UserAndAdminLogoutSuccessHandler ;
9- import io .f1 .backend .global .filter .DevTokenAuthFilter ;
109
1110import lombok .RequiredArgsConstructor ;
1211
1918import org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
2019import org .springframework .security .config .annotation .web .configurers .AbstractHttpConfigurer ;
2120import org .springframework .security .web .SecurityFilterChain ;
22- import org .springframework .security .web .authentication .UsernamePasswordAuthenticationFilter ;
2321
2422@ Configuration
2523@ EnableWebSecurity
@@ -40,8 +38,6 @@ public class SecurityConfig {
4038 public SecurityFilterChain userFilterChain (HttpSecurity http ) throws Exception {
4139 http .csrf (AbstractHttpConfigurer ::disable )
4240 .cors (Customizer .withDefaults ())
43- .addFilterBefore (
44- new DevTokenAuthFilter (), UsernamePasswordAuthenticationFilter .class )
4541 .exceptionHandling (
4642 exception ->
4743 exception .authenticationEntryPoint (customAuthenticationEntryPoint ))
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments