Skip to content

Commit fbc9de7

Browse files
committed
chore: 불필요한 import 제거
1 parent 1333710 commit fbc9de7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/java/com/somemore/auth/jwt/filter/JwtAuthFilter.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import jakarta.servlet.ServletException;
1010
import jakarta.servlet.http.HttpServletRequest;
1111
import jakarta.servlet.http.HttpServletResponse;
12+
import java.io.IOException;
13+
import java.util.List;
1214
import lombok.RequiredArgsConstructor;
1315
import lombok.extern.slf4j.Slf4j;
1416
import org.springframework.security.core.Authentication;
@@ -17,10 +19,6 @@
1719
import org.springframework.stereotype.Component;
1820
import org.springframework.web.filter.OncePerRequestFilter;
1921

20-
import java.io.IOException;
21-
import java.util.List;
22-
import software.amazon.awssdk.services.s3.endpoints.internal.Value.Str;
23-
2422
@RequiredArgsConstructor
2523
@Slf4j
2624
@Component
@@ -35,7 +33,8 @@ protected boolean shouldNotFilter(HttpServletRequest request) {
3533
}
3634

3735
@Override
38-
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
36+
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response,
37+
FilterChain filterChain) throws ServletException, IOException {
3938
EncodedToken accessToken = getAccessToken(request);
4039
jwtUseCase.processAccessToken(accessToken, response);
4140

@@ -57,7 +56,8 @@ private EncodedToken getAccessToken(HttpServletRequest request) {
5756
return new EncodedToken(accessToken);
5857
}
5958

60-
private JwtAuthenticationToken createAuthenticationToken(Claims claims, EncodedToken accessToken) {
59+
private JwtAuthenticationToken createAuthenticationToken(Claims claims,
60+
EncodedToken accessToken) {
6161
String userId = claims.get("id", String.class);
6262
UserRole role = UserRole.valueOf(claims.get("role", String.class));
6363

0 commit comments

Comments
 (0)