This commit is contained in:
Tokishu
2025-05-31 02:31:06 +02:00
parent e86b8bf08e
commit e00ac3fd66
5 changed files with 6 additions and 6 deletions
@@ -5,7 +5,7 @@ import jakarta.servlet.ServletException;
import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse; import jakarta.servlet.http.HttpServletResponse;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import net.tokishu.note.seсurity.JwtService; import net.tokishu.note.security.JwtService;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetails;
@@ -1,4 +1,4 @@
package net.tokishu.note.seсurity; package net.tokishu.note.security;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import net.tokishu.note.model.User; import net.tokishu.note.model.User;
@@ -1,4 +1,4 @@
package net.tokishu.note.seсurity; package net.tokishu.note.security;
import io.jsonwebtoken.Claims; import io.jsonwebtoken.Claims;
import io.jsonwebtoken.ExpiredJwtException; import io.jsonwebtoken.ExpiredJwtException;
@@ -1,4 +1,4 @@
package net.tokishu.note.seсurity; package net.tokishu.note.security;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
@@ -8,8 +8,8 @@ import net.tokishu.note.dto.response.RegisterResponse;
import net.tokishu.note.dto.response.RootResponse; import net.tokishu.note.dto.response.RootResponse;
import net.tokishu.note.model.User; import net.tokishu.note.model.User;
import net.tokishu.note.repo.UserRepository; import net.tokishu.note.repo.UserRepository;
import net.tokishu.note.seсurity.JwtService; import net.tokishu.note.security.JwtService;
import net.tokishu.note.seсurity.PasswordService; import net.tokishu.note.security.PasswordService;
import org.springframework.http.HttpStatus; import org.springframework.http.HttpStatus;
import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;