Skip to content

Commit 7def257

Browse files
committed
♻️ refactor: 임시 인증 객체 생성 기능 삭제
1 parent e8d291e commit 7def257

File tree

3 files changed

+0
-82
lines changed

3 files changed

+0
-82
lines changed

backend/src/main/java/io/f1/backend/domain/user/entity/User.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@
1515
import lombok.Builder;
1616
import lombok.Getter;
1717
import lombok.NoArgsConstructor;
18-
import lombok.Setter;
1918

2019
import java.time.LocalDateTime;
2120

2221
@Getter
23-
@Setter // quizService의 퀴즈 조회 메서드 구현 시까지 임시 사용
2422
@Entity
2523
@Table(name = "`user`")
2624
@NoArgsConstructor

backend/src/main/java/io/f1/backend/global/config/SecurityConfig.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import io.f1.backend.domain.user.app.handler.CustomAuthenticationEntryPoint;
77
import io.f1.backend.domain.user.app.handler.OAuthSuccessHandler;
88
import io.f1.backend.domain.user.app.handler.UserAndAdminLogoutSuccessHandler;
9-
import io.f1.backend.global.filter.DevTokenAuthFilter;
109

1110
import lombok.RequiredArgsConstructor;
1211

@@ -19,7 +18,6 @@
1918
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
2019
import org.springframework.security.config.annotation.web.configurers.AbstractHttpConfigurer;
2120
import 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))

backend/src/main/java/io/f1/backend/global/filter/DevTokenAuthFilter.java

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)