codinglog
COTHE's technical blog
-
DNS Records - Your Memory Refresher Guide ๐
Ever stared at your DNS settings panel and thought โWait, whatโs the difference between an A record and a CNAME again?โ Youโre definitely not alone. After a few weeks away from DNS configuration, all those record types start blending together. This guide will help you rebuild that mental model and...
-
Spring Security - Your Memory Refresher Guide ๐
Ever opened up a Spring Security config after a few months away and thought โWait, what does this even do?โ Youโre not alone. All those filter chains and security matchers can get jumbled up in your head pretty quickly. This guide will help you rebuild that mental model with Spring...
-
์คํ๋ง ์ํ๋ฆฌํฐ, ์ด ๊ธ ํ๋๋ก ๊ธฐ์ต ๋์ด๋ฆฌ๊ธฐ ๐
์ค๋๋ง์ ์คํ๋ง ์ํ๋ฆฌํฐ ์ค์ ์ ๋ง์ง๋ ค๊ณ ํ๋ฉด โ์ด, ์ด๊ฒ ๋ญ์์ง?โ ์ถ์ ์๊ฐ์ด ์ค์ฃ . ํํฐ ์ฒด์ธ์ด๋ ๋ญ๋ ํ๋ ์ฉ์ด๋ค์ด ๋จธ๋ฆฟ์์์ ๋ค์ฃฝ๋ฐ์ฃฝ ์์ฌ๋ฒ๋ฆฝ๋๋ค. ์ด ๊ธ์ ๊ทธ๋ฐ ๋ถ๋ค์ ์ํด ์คํ๋ง ์ํ๋ฆฌํฐ 7์ ํต์ฌ ์ํคํ ์ฒ๋ฅผ ์ฝ๊ฒ ์ ๋ฆฌํ์ต๋๋ค. ์์ํ๊ธฐ ์ ์: ์๋ธ๋ฆฟ ํํฐ๋ถํฐ ์ดํดํ์ ์คํ๋ง ์ํ๋ฆฌํฐ๋ฅผ ์ดํดํ๋ ค๋ฉด ๋จผ์ ์๋ธ๋ฆฟ ํํฐ๊ฐ ๋ญ์ง ์์์ผ ํฉ๋๋ค. ํด๋ผ์ด์ธํธ๊ฐ HTTP ์์ฒญ์ ๋ณด๋ด๋ฉด,...
-
Spring Boot 4์ Servlet 6.1 - ํ๋์ ์น ์ ํ๋ฆฌ์ผ์ด์ ์ผ๋ก์ ์งํ
๋ค์ด๊ฐ๋ฉฐ Spring Boot 4๊ฐ ์ถ์๋๋ฉด์ ๊ฐ์ฅ ํฐ ๋ณํ ์ค ํ๋๋ Servlet 6.1์ ํ์๋ก ์๊ตฌํ๋ค๋ ์ ์ ๋๋ค. ์ด๋ฒ ๊ธ์์๋ Servlet์ ์ญ์ฌ๋ถํฐ Spring Boot์์ ๊ด๊ณ, ๊ทธ๋ฆฌ๊ณ ์ต์ ๋ณํ๊น์ง ์ดํด๋ณด๊ฒ ์ต๋๋ค. Servlet์ด๋ ๋ฌด์์ธ๊ฐ? Servlet์ Java๋ก ์น ์ ํ๋ฆฌ์ผ์ด์ ์ ๋ง๋ค ๋ HTTP ์์ฒญ์ ์ฒ๋ฆฌํ๋ ์๋ฒ ์ธก ํ๋ก๊ทธ๋จ์ ๋๋ค. Spring Boot๋ก API๋ฅผ ๋ง๋ค๋ฉด, ๋ด๋ถ์ ์ผ๋ก๋ Servlet ๊ธฐ์ ์ด ๋์ํ๊ณ ์์ต๋๋ค. Spring์...
-
OAuth2 ์ฝ๊ฒ ์ดํดํ๊ธฐ - ์ด๋ณด์๋ฅผ ์ํ ์ฌ์ด ๊ฐ์ด๋
๐ฏ ์์ํ๊ธฐ ์ ์: ์ธ์ฆ vs ์ธ๊ฐ ๋ณด์์ ์ดํดํ๋ ค๋ฉด ๋จผ์ ์ด ๋ ๊ฐ๋ ์ ๊ตฌ๋ถํด์ผ ํฉ๋๋ค. ์ธ์ฆ (Authentication) - โ๋ ๋๊ตฌ์ผ?โ ์ํํธ ์ถ์ ๋ฌธ์์ ์ฃผ๋ฏผ๋ฑ๋ก์ฆ์ ํ์ธํ๋ ๊ฒ๊ณผ ๊ฐ์ต๋๋ค. โ๋น์ ์ด ์ ๋ง ๊น์ฒ ์๊ฐ ๋ง๋์?โ ๋ก๊ทธ์ธํ ๋ ์์ด๋/๋น๋ฐ๋ฒํธ๋ฅผ ์ ๋ ฅํ๋ ๊ณผ์ ์ธ๊ฐ (Authorization) - โ์ด๊ฑฐ ํด๋ ๋ผ?โ ์ํํธ ์ ์ฃผ๋ฏผ์ด๋ผ๊ณ ๋ชจ๋ ์ง์ ๋ค์ด๊ฐ ์ ์๋ ๊ฑด ์๋์ฃ . โ๋น์ ์...