Spring(89)
-
[Spring] Spring Security Reference
https://howtodoinjava.com/spring-security/inmemory-jdbc-userdetails-service/ Guide to Spring Security UserDetailsService - HowToDoInJavaLearn about the contract that spring security expects from UserDetailsService and PasswordEncoder, initial defaults and basic customizations.howtodoinjava.com
2024.05.06 -
[Spring] UUID + Security Reference
https://www.callicoder.com/distributed-unique-id-sequence-number-generator/ Generating unique IDs in a distributed environment at high scaleLearn what it takes to generate unique IDs in a distributed environment at high scale with time sortable guarantees.www.callicoder.comhttps://suddiyo.tistory.com/entry/Spring-Spring-Security-JWT-%EB%A1%9C%EA%B7%B8%EC%9D%B8-%EA%B5%AC%ED%98%84%ED%95%98%EA%B8%B..
2024.05.02 -
[Spring] JWT Reference Collections
https://velog.io/@seok990301/Public-key-Private-key-%EB%8C%80%EC%B9%AD%ED%82%A4-%EB%B9%84%EB%8C%80%EC%B9%AD%ED%82%A4 양방향 암호화(대칭키, 비대칭키, 공개키, 개인키)공개키: 통장의 계좌번호개인키: 비밀번호암호화, 복호화할 때 사용하는 키가 동일한 경우. 1개의 키를 사용함.어떤 키로 암호화했다면, 수신자도 같은 키가 있어야 복호화 가능.말 그대로 대칭velog.iohttps://community.auth0.com/t/rs256-vs-hs256-jwt-signing-algorithms/58609 RS256 vs HS256 JWT signing algorithmsQuestion: What’s the differen..
2024.04.29 -
[Spring] jwt 서명에는 헤더와 페이로드가 담겨져 있는데 암호화되지 않은 헤더와 페이로드를 담는 이유
내가 내린 답은 선택지를 주는 것. 굳이 유효성 검사가 필요하지 않다면 굳이굳이 검사를 할 필요가 없이 보기만 하면됨그러나 보안이 중요하다면 유효성 검사를 하는 것그리고 jwt가 포함되는 패킷은 HTTPS로 보안을 달성할 수 있다 Referencehttps://softwareengineering.stackexchange.com/questions/280257/json-web-token-why-is-the-payload-public JSON Web Token - why is the payload public?I can't understand the reasoning for making the claims/payload of a JWT publicly visible after base64 decoding it..
2024.04.29 -
[Spring] 서블릿과 톰캣에 대한 좋은 레퍼런스
https://dev-monkey-dugi.tistory.com/119 서블릿과 톰캣의 관계서블릿이란 HTTP 요청으로부터 웹 페이지를 동적으로 생성하는 서버 프로그램이다.(자바 클래스) 개발할 때 마다 이런 기능을 구현할 수 있겠지만 불편하기 때문에 서블릿이라는 것이 생겨났고,dev-monkey-dugi.tistory.com
2024.04.24 -
[Spring] 마이바티스
1. Driver Loading 2. Connection 생성 3. Statement 마이바티스는 위의 요소들을 자동화해줌
2024.04.19