diff --git a/src/main/java/com/project/qvick/global/security/jwt/JwtExtract.java b/src/main/java/com/project/qvick/global/security/jwt/JwtExtract.java index cb3b437..9135cae 100644 --- a/src/main/java/com/project/qvick/global/security/jwt/JwtExtract.java +++ b/src/main/java/com/project/qvick/global/security/jwt/JwtExtract.java @@ -1,9 +1,9 @@ package com.project.qvick.global.security.jwt; +import com.project.qvick.domain.user.client.dto.User; +import com.project.qvick.domain.user.domain.mapper.UserMapper; import com.project.qvick.domain.user.domain.repository.jpa.UserRepository; import com.project.qvick.domain.user.exception.UserNotFoundException; -import com.project.qvick.domain.user.domain.mapper.UserMapper; -import com.project.qvick.domain.user.client.dto.User; import com.project.qvick.global.annotation.Jwt; import com.project.qvick.global.security.auth.CustomUserDetails; import com.project.qvick.global.security.jwt.config.JwtProperties; @@ -23,7 +23,6 @@ import org.springframework.http.HttpHeaders; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.Authentication; -import org.springframework.stereotype.Component; import org.springframework.util.StringUtils; @Jwt diff --git a/src/main/java/com/project/qvick/global/security/jwt/JwtProvider.java b/src/main/java/com/project/qvick/global/security/jwt/JwtProvider.java index ffa496b..01705cb 100644 --- a/src/main/java/com/project/qvick/global/security/jwt/JwtProvider.java +++ b/src/main/java/com/project/qvick/global/security/jwt/JwtProvider.java @@ -4,16 +4,9 @@ import com.project.qvick.global.annotation.Jwt; import com.project.qvick.global.security.jwt.config.JwtProperties; import com.project.qvick.global.security.jwt.enums.JwtType; -import com.project.qvick.global.security.jwt.exception.TokenErrorException; -import com.project.qvick.global.security.jwt.exception.TokenExpiredException; -import com.project.qvick.global.security.jwt.exception.TokenNotSupportException; -import io.jsonwebtoken.Claims; -import io.jsonwebtoken.ExpiredJwtException; import io.jsonwebtoken.Header; -import io.jsonwebtoken.Jws; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; -import io.jsonwebtoken.UnsupportedJwtException; import lombok.RequiredArgsConstructor; import java.util.Date;