Skip to content

Commit

Permalink
fix: Interceptor 제거 (#10)
Browse files Browse the repository at this point in the history
* fix: (임시) Interceptor 아예 없앰

* feat: security 업데이트
  • Loading branch information
gitchannn authored Nov 1, 2023
1 parent 749a4b4 commit dee1efd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions server/src/main/java/sallange/server/config/WebMvcConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,15 @@
import lombok.RequiredArgsConstructor;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.method.support.HandlerMethodArgumentResolver;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import sallange.server.config.argumentresolver.UserAuthArgumentResolver;
import sallange.server.config.interceptor.UserAuthInterceptor;

import java.util.List;

@RequiredArgsConstructor
@Configuration
public class WebMvcConfig implements WebMvcConfigurer {

private final UserAuthInterceptor userAuthInterceptor;
private final UserAuthArgumentResolver userAuthArgumentResolver;

// @Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import sallange.server.repository.UserRepository;

@RequiredArgsConstructor
@Component
//@Component
public class UserAuthInterceptor implements HandlerInterceptor {

private final UserRepository userRepository;
Expand Down
2 changes: 1 addition & 1 deletion server/src/main/resources/security

0 comments on commit dee1efd

Please sign in to comment.