Skip to content

Commit

Permalink
style: 사용하지 않는 import 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
alsdl0629 committed Jun 11, 2024
1 parent 9b6ec51 commit 694ad6f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/kotlin/com/onboard/server/global/filter/JwtFilter.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.onboard.server.global.filter

import com.onboard.server.global.security.jwt.JwtConstant.HEADER
import com.onboard.server.global.security.jwt.JwtConstant.PREFIX
import com.onboard.server.global.security.jwt.JwtParser
import jakarta.servlet.FilterChain
import jakarta.servlet.http.HttpServletRequest
Expand All @@ -10,12 +8,12 @@ import org.springframework.security.core.context.SecurityContextHolder
import org.springframework.web.filter.OncePerRequestFilter

class JwtFilter(
private val jwtParser: JwtParser
private val jwtParser: JwtParser,
) : OncePerRequestFilter() {
override fun doFilterInternal(
request: HttpServletRequest,
response: HttpServletResponse,
filterChain: FilterChain
filterChain: FilterChain,
) {
val token = jwtParser.getToken(request)
token?.let {
Expand Down

0 comments on commit 694ad6f

Please sign in to comment.