반응형 Spring Security5 [SpringBoot] Security + JWT(Access , Refresh) - Controller 이전글https://greed-yb.tistory.com/291 [SpringBoot] Security + JWT(Access , Refresh) - Handler이전글https://greed-yb.tistory.com/290 [SpringBoot] Security + JWT(Access , Refresh) - JwtAuthenticationFilter이전글https://greed-yb.tistory.com/289 [SpringBoot] Security + JWT(Access , Refresh) - JwtTokenUtil이전글https://greed-yb.tistory.com/2greed-yb.tistory.com controller.classimport com.example.practice.secur.. 2024. 9. 25. [SpringBoot] Security + JWT(Access , Refresh) - Handler 이전글https://greed-yb.tistory.com/290 [SpringBoot] Security + JWT(Access , Refresh) - JwtAuthenticationFilter이전글https://greed-yb.tistory.com/289 [SpringBoot] Security + JWT(Access , Refresh) - JwtTokenUtil이전글https://greed-yb.tistory.com/288 [SpringBoot] Security + JWT(Access , Refresh) - SecurityConfig권한에 따른 인증/인가 방식은 이전greed-yb.tistory.com Security Config 에 설정하는 Exception Handler 다 WebAccessDe.. 2024. 9. 25. [SpringBoot] Security + JWT(Access , Refresh) - JwtTokenUtil 이전글https://greed-yb.tistory.com/288 [SpringBoot] Security + JWT(Access , Refresh) - SecurityConfig권한에 따른 인증/인가 방식은 이전글을 참고하길 바란다https://greed-yb.tistory.com/223 [SpringBoot] Security 로그인 인증, 인가(1) - 환경설정Java 17MavenSpring Boot 3.0.3Spring Security 6.0.2Oracle 11gMybatisIntelliJ Ultimagreed-yb.tistory.com util.classimport com.auth0.jwt.JWT;import com.auth0.jwt.algorithms.Algorithm;import com.aut.. 2024. 9. 25. [SpringBoot] Security + JWT(Access , Refresh) - SecurityConfig 권한에 따른 인증/인가 방식은 이전글을 참고하길 바란다https://greed-yb.tistory.com/223 [SpringBoot] Security 로그인 인증, 인가(1) - 환경설정Java 17MavenSpring Boot 3.0.3Spring Security 6.0.2Oracle 11gMybatisIntelliJ UltimateDBeaverThymeleaf 폴더 구조더보기 Security 한번 구현해보겠다고 일주일 내내 작업한거 같다거의 대부분의 예제들은 3.0.0 이하의 버전greed-yb.tistory.com Java 17MavenSpring Boot 3.0.3Spring Security 6.0.2Oracle 11gMybatisIntelliJ UltimateDBeaverThymeleaf .. 2024. 9. 25. [SpringBoot] 외부 파일 불러오기 기본적으로 /resources/static/ 폴더 안에 파일을 읽어오지만그 외의 외부폴더에서 파일을 참조할 경우 보안상의 문제로 파일을 불러오지 않는다 파일이 동적으로 생성되거나 관리가 되어야 하는 상황에 맞지 않기에 동적으로 관리하는 방법을 정리해 본다(파일이 배포된 상태 거나 War 상태일 경우 /resources/static/ 안에 파일을 넣으려면 재배포 및 War를 빌드해야 한다) 폴더 생성 src/main/resources 가 아닌 src 폴더와 같은 위치에 upload 폴더를 생성하였다(C:// , D:// 가 아닌 프로젝트 내의 폴더에서 파일을 관리하고 싶어서) 예시 화면 강아지 사진 옆에 태그를 추가하여 본다 config 파일 생성 import org.springframew.. 2024. 5. 8. 이전 1 다음 반응형