diff --git a/austin-web/src/main/java/com/java3y/austin/web/interceptor/TokenInterceptor.java b/austin-web/src/main/java/com/java3y/austin/web/interceptor/TokenInterceptor.java index 40d4758..857e3b4 100644 --- a/austin-web/src/main/java/com/java3y/austin/web/interceptor/TokenInterceptor.java +++ b/austin-web/src/main/java/com/java3y/austin/web/interceptor/TokenInterceptor.java @@ -7,6 +7,7 @@ import com.java3y.austin.web.utils.JwtUtil; import io.jsonwebtoken.Claims; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.StringUtils; +import org.springframework.stereotype.Component; import org.springframework.util.ObjectUtils; import org.springframework.web.servlet.HandlerInterceptor; @@ -15,6 +16,7 @@ import javax.servlet.http.HttpServletResponse; @Slf4j +@Component public class TokenInterceptor implements HandlerInterceptor { @Override