{"id":26398,"date":"2024-10-27T10:52:29","date_gmt":"2024-10-27T10:52:29","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=26398"},"modified":"2024-11-26T07:44:44","modified_gmt":"2024-11-26T07:44:44","slug":"%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%97%94%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-jwt%eb%a1%9c-%eb%a1%9c%ea%b7%b8%ec%9d%b8-%eb%a1%9c%ea%b7%b8%ec%95%84%ec%9b%83-6","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/26398\/","title":{"rendered":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30"},"content":{"rendered":"<p><body><\/p>\n<h2>1. \uc11c\ub860<\/h2>\n<p>\n        \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ubcf4\uc548\uc740 \uac00\uc7a5 \uc911\uc694\ud55c \uc694\uc18c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc0f \uad8c\ud55c \ubd80\uc5ec\ub294 \uc774\ub7ec\ud55c \ubcf4\uc548\uc744 \uc720\uc9c0\ud558\ub294 \ud575\uc2ec \uae30\ub2a5\uc785\ub2c8\ub2e4.<br \/>\n        \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0\uc11c JWT(JSON Web Token)\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uae30\ubcf8\uc801\uc778 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc124\uc815\ud558\uace0, JWT \uae30\ubc18 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ud604\ud558\uba70, \ucee8\ud2b8\ub864\ub7ec\ub97c \ucd94\uac00\ud558\uc5ec RESTful API\ub97c \uc644\uc131\ud558\ub294 \uacfc\uc815\uc744 \ub2e4\ub8f9\ub2c8\ub2e4.\n    <\/p>\n<h2>2. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub780?<\/h2>\n<p>\n        \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uc790\ubc14 \uae30\ubc18\uc758 \ud504\ub808\uc784\uc6cc\ud06c\uc778 \uc2a4\ud504\ub9c1(SPRING)\uc744 \ubcf4\ub2e4 \uc27d\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ub3c4\uad6c\uc785\ub2c8\ub2e4.<br \/>\n        \uc774\ub97c \ud1b5\ud574 \uac1c\ubc1c\uc790\ub294 \uc124\uc815\uacfc \uad6c\uc131\uc744 \ucd5c\uc18c\ud654\ud558\uace0, \ube60\ub974\uac8c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \ub3c5\ub9bd \uc2e4\ud589 \uac00\ub2a5\ud55c JAR \ud30c\uc77c\ub85c \ud328\ud0a4\uc9d5\ub418\uc5b4 \uc2e4\ud589\ub420 \uc218 \uc788\uc73c\uba70, RESTful \uc11c\ube44\uc2a4\ub97c \ud6a8\uc728\uc801\uc73c\ub85c \uac1c\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc758 \uc8fc\uc694 \ud2b9\uc131\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li><strong>\uc790\ub3d9 \uad6c\uc131:<\/strong> \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \uac1c\ubc1c\uc790\uac00 \ud544\uc694\ub85c \ud558\ub294 \uae30\ubcf8 \uc124\uc815\uc744 \uc790\ub3d9\uc73c\ub85c \uad6c\uc131\ud574 \uc90d\ub2c8\ub2e4.<\/li>\n<li><strong>\uc2a4\ud0c0\ud130 \ud328\ud0a4\uc9c0:<\/strong> \uac1c\ubc1c\uc790\ub294 \ud544\uc694\ud55c \uae30\ub2a5\uc744 \ube60\ub974\uac8c \ucd94\uac00\ud560 \uc218 \uc788\ub294 \uc2a4\ud0c0\ud130 \ud328\ud0a4\uc9c0\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ub0b4\uc7a5 \uc11c\ubc84:<\/strong> \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub294 \ud1b0\ucea3, \uc81c\ud2b8\ud2f0, \uc5b8\ub354\ud0c0\uc6b0 \ub4f1\uacfc \uac19\uc740 \ub0b4\uc7a5 \uc11c\ubc84\ub97c \uc81c\uacf5\ud558\uc5ec, \uc27d\uac8c \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc2e4\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc758\uc874\uc131 \uad00\ub9ac:<\/strong> Maven \ub610\ub294 Gradle\uc744 \uc0ac\uc6a9\ud574 \uc758\uc874\uc131\uc744 \uc18c\uc2a4 \ucf54\ub4dc \ub0b4\uc5d0\uc11c \uac04\ud3b8\ud558\uac8c \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>3. JWT\ub780?<\/h2>\n<p>\n        JWT( JSON Web Token)\ub294 \uc548\uc804\ud55c \uc815\ubcf4 \uc804\uc1a1\uc744 \uc704\ud55c \uc778\ud130\ub137 \ud45c\uc900 RFC 7519\uc785\ub2c8\ub2e4. JWT\ub294 JSON \uac1d\uccb4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc8fc\uccb4(sub), \ubc1c\ud589\uc790(iss), \ub9cc\ub8cc \uc2dc\uac04(exp) \ub4f1\uc758 \uc815\ubcf4\ub97c \uc554\ud638\ud654\ud558\uc5ec \uc804\ub2ec\ud569\ub2c8\ub2e4.<br \/>\n        JWT\ub294 \uc138 \ubd80\ubd84\uc73c\ub85c \uad6c\uc131\ub429\ub2c8\ub2e4:\n    <\/p>\n<ol>\n<li><strong>\ud5e4\ub354(header):<\/strong> JWT\uc758 \uc720\ud615\uacfc \uc0ac\uc6a9\ud560 \uc11c\uba85 \uc54c\uace0\ub9ac\uc998\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\ud398\uc774\ub85c\ub4dc(payload):<\/strong> \uc804\uc1a1\ud560 \uc815\ubcf4\uc640 \uadf8 \uc815\ubcf4\ub97c \uc124\uba85\ud558\ub294 \uba54\ud0c0\ub370\uc774\ud130\ub97c \ud3ec\ud568\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc11c\uba85(signature):<\/strong> \ud5e4\ub354\uc640 \ud398\uc774\ub85c\ub4dc\ub97c \uc548\uc804\ud558\uac8c \ud558\uc5ec \ubcc0\uc870\ub97c \ubc29\uc9c0\ud569\ub2c8\ub2e4. \ube44\ubc00 \ud0a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0dd\uc131\ub429\ub2c8\ub2e4.<\/li>\n<\/ol>\n<p>\n        JWT\ub294 \ud2b8\ub798\ud53d\uc774 \ub192\uc740 \ud658\uacbd\uc5d0\uc11c API \uc778\uc99d\uc73c\ub85c \ub9ce\uc774 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. \uc138\uc158\uc744 \uc11c\ubc84\uc5d0 \uc800\uc7a5\ud560 \ud544\uc694\uac00 \uc5c6\uae30 \ub54c\ubb38\uc5d0 \ud6a8\uc728\uc801\uc774\uba70, \ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0 \uc0c1\ud0dc \uc815\ubcf4\ub97c \ubcf4\uad00\ud560 \uc218 \uc788\uc5b4<br \/>\n        \uc11c\ubc84\uc758 \ubd80\ud558\ub97c \uc904\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>4. \ud504\ub85c\uc81d\ud2b8 \uc124\uc815<\/h2>\n<h3>4.1. \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131<\/h3>\n<p>\n        \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud558\uae30 \uc704\ud574 <a href=\"https:\/\/start.spring.io\/\">Spring Initializr<\/a>\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4.<br \/>\n        \ud544\uc694\ud55c \uc124\uc815\uc744 \ub2e4\uc74c\uacfc \uac19\uc774 \uc785\ub825\ud569\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li><strong>Project:<\/strong> Maven Project<\/li>\n<li><strong>Language:<\/strong> Java<\/li>\n<li><strong>Spring Boot:<\/strong> 2.6.6 (\uac00\uc7a5 \ucd5c\uc2e0 \ubc84\uc804)<\/li>\n<li><strong>Project Metadata:<\/strong>\n<ul>\n<li>Group: com.example<\/li>\n<li>Artifact: jwt-demo<\/li>\n<li>Name: jwt-demo<\/li>\n<li>Description: JWT Authentication Demo<\/li>\n<li>Packaging: Jar<\/li>\n<li>Java: 11<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\n        \uadf8\ub9ac\uace0 \ub2e4\uc74c\uc758 \uc758\uc874\uc131\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4:\n    <\/p>\n<ul>\n<li>Spring Web<\/li>\n<li>Spring Security<\/li>\n<li>Spring Data JPA<\/li>\n<li>H2 Database<\/li>\n<li>jjwt (Java JWT)<\/li>\n<\/ul>\n<h3>4.2. \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870<\/h3>\n<p>\n        \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131 \ud6c4, \uae30\ubcf8 \ud328\ud0a4\uc9c0 \uad6c\uc870\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:\n    <\/p>\n<pre>\n    \u2514\u2500\u2500 src\n        \u2514\u2500\u2500 main\n            \u251c\u2500\u2500 java\n            \u2502   \u2514\u2500\u2500 com\n            \u2502       \u2514\u2500\u2500 example\n            \u2502           \u2514\u2500\u2500 jwt_demo\n            \u2502               \u251c\u2500\u2500 JwtDemoApplication.java\n            \u2502               \u251c\u2500\u2500 controller\n            \u2502               \u251c\u2500\u2500 model\n            \u2502               \u251c\u2500\u2500 repository\n            \u2502               \u251c\u2500\u2500 security\n            \u2502               \u2514\u2500\u2500 service\n            \u2514\u2500\u2500 resources\n                \u251c\u2500\u2500 application.properties\n                \u2514\u2500\u2500 static\n    <\/pre>\n<h2>5. \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc124\uc815<\/h2>\n<p>\n        H2 \ub370\uc774\ud130\ubca0\uc774\uc2a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \uc800\uc7a5\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<br \/>\n        application.properties \ud30c\uc77c\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uc815\ud569\ub2c8\ub2e4:\n    <\/p>\n<pre>\n    spring.h2.console.enabled=true\n    spring.datasource.url=jdbc:h2:mem:testdb\n    spring.datasource.driverClassName=org.h2.Driver\n    spring.datasource.username=sa\n    spring.datasource.password=\n    spring.jpa.database-platform=org.hibernate.dialect.H2Dialect\n    <\/pre>\n<h2>6. \uc0ac\uc6a9\uc790 \ubaa8\ub378 \ub9cc\ub4e4\uae30<\/h2>\n<p>\n        \uc0ac\uc6a9\uc790\uc758 \uc815\ubcf4\ub97c \ub2f4\uae30 \uc704\ud55c User \ubaa8\ub378 \ud074\ub798\uc2a4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.\n    <\/p>\n<pre>\n    package com.example.jwt_demo.model;\n\n    import javax.persistence.*;\n\n    @Entity\n    @Table(name = \"users\")\n    public class User {\n        @Id\n        @GeneratedValue(strategy = GenerationType.IDENTITY)\n        private Long id;\n\n        @Column(nullable = false, unique = true)\n        private String username;\n\n        @Column(nullable = false)\n        private String password;\n\n        \/\/ Getters and Setters...\n\n        public User() {}\n\n        public User(String username, String password) {\n            this.username = username;\n            this.password = password;\n        }\n    }\n    <\/pre>\n<h2>7. \uc0ac\uc6a9\uc790 \ub9ac\ud3ec\uc9c0\ud1a0\ub9ac \uc0dd\uc131\ud558\uae30<\/h2>\n<p>\n        \uc0ac\uc6a9\uc790 \uc815\ubcf4\ub97c \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0\uc11c \uad00\ub9ac\ud558\uae30 \uc704\ud574 JPA \ub9ac\ud3ec\uc9c0\ud1a0\ub9ac \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.\n    <\/p>\n<pre>\n    package com.example.jwt_demo.repository;\n\n    import com.example.jwt_demo.model.User;\n    import org.springframework.data.jpa.repository.JpaRepository;\n    import org.springframework.stereotype.Repository;\n\n    @Repository\n    public interface UserRepository extends JpaRepository<user, long=\"\"> {\n        User findByUsername(String username);\n    }\n    <\/user,><\/pre>\n<h2>8. \ubcf4\uc548 \uc124\uc815<\/h2>\n<p>\n        \uc2a4\ud504\ub9c1 \uc2dc\ud050\ub9ac\ud2f0\ub97c \ud1b5\ud574 JWT \uc778\uc99d\uc744 \uad6c\ud604\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc774\ub97c \uc704\ud574 WebSecurityConfigurerAdapter\uc744 \uc0c1\uc18d\ud558\ub294 SecurityConfig \ud074\ub798\uc2a4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.\n    <\/p>\n<pre>\n    package com.example.jwt_demo.security;\n\n    import com.example.jwt_demo.filter.JwtRequestFilter;\n    import com.example.jwt_demo.service.UserDetailsServiceImpl;\n    import org.springframework.beans.factory.annotation.Autowired;\n    import org.springframework.context.annotation.Bean;\n    import org.springframework.security.authentication.AuthenticationManager;\n    import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder;\n    import org.springframework.security.config.annotation.web.builders.HttpSecurity;\n    import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;\n    import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;\n    import org.springframework.security.config.http.SessionCreationPolicy;\n    import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter;\n\n    @EnableWebSecurity\n    public class SecurityConfig extends WebSecurityConfigurerAdapter {\n\n        @Autowired\n        private UserDetailsServiceImpl userDetailsService;\n\n        @Autowired\n        private JwtRequestFilter jwtRequestFilter;\n\n        @Override\n        protected void configure(AuthenticationManagerBuilder auth) throws Exception {\n            auth.userDetailsService(userDetailsService);\n        }\n\n        @Override\n        protected void configure(HttpSecurity http) throws Exception {\n            http.csrf().disable()\n                .authorizeRequests()\n                .antMatchers(\"\/authenticate\").permitAll()\n                .anyRequest().\n<\/pre>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \uc11c\ub860 \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ubcf4\uc548\uc740 \uac00\uc7a5 \uc911\uc694\ud55c \uc694\uc18c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc0f \uad8c\ud55c \ubd80\uc5ec\ub294 \uc774\ub7ec\ud55c \ubcf4\uc548\uc744 \uc720\uc9c0\ud558\ub294 \ud575\uc2ec \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0\uc11c JWT(JSON Web Token)\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uae30\ubcf8\uc801\uc778 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc124\uc815\ud558\uace0, JWT \uae30\ubc18 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ud604\ud558\uba70, \ucee8\ud2b8\ub864\ub7ec\ub97c \ucd94\uac00\ud558\uc5ec RESTful &hellip; <a href=\"https:\/\/atmokpo.com\/w\/26398\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-26398","post","type-post","status-publish","format-standard","hentry","category-21"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/26398\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \uc11c\ub860 \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ubcf4\uc548\uc740 \uac00\uc7a5 \uc911\uc694\ud55c \uc694\uc18c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc0f \uad8c\ud55c \ubd80\uc5ec\ub294 \uc774\ub7ec\ud55c \ubcf4\uc548\uc744 \uc720\uc9c0\ud558\ub294 \ud575\uc2ec \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0\uc11c JWT(JSON Web Token)\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uae30\ubcf8\uc801\uc778 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc124\uc815\ud558\uace0, JWT \uae30\ubc18 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ud604\ud558\uba70, \ucee8\ud2b8\ub864\ub7ec\ub97c \ucd94\uac00\ud558\uc5ec RESTful &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/26398\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T10:52:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:44:44+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/26398\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26398\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30\",\"datePublished\":\"2024-10-27T10:52:29+00:00\",\"dateModified\":\"2024-11-26T07:44:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26398\/\"},\"wordCount\":76,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/26398\/\",\"url\":\"https:\/\/atmokpo.com\/w\/26398\/\",\"name\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T10:52:29+00:00\",\"dateModified\":\"2024-11-26T07:44:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26398\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/26398\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/26398\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/26398\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \uc11c\ub860 \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ubcf4\uc548\uc740 \uac00\uc7a5 \uc911\uc694\ud55c \uc694\uc18c \uc911 \ud558\ub098\uc785\ub2c8\ub2e4. \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc0f \uad8c\ud55c \ubd80\uc5ec\ub294 \uc774\ub7ec\ud55c \ubcf4\uc548\uc744 \uc720\uc9c0\ud558\ub294 \ud575\uc2ec \uae30\ub2a5\uc785\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc774\uc6a9\ud55c \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0\uc11c JWT(JSON Web Token)\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub85c\uadf8\uc778 \ubc0f \ub85c\uadf8\uc544\uc6c3 \uae30\ub2a5\uc744 \uad6c\ud604\ud558\ub294 \ubc29\ubc95\uc744 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uae30\ubcf8\uc801\uc778 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc124\uc815\ud558\uace0, JWT \uae30\ubc18 \uc778\uc99d \uc2dc\uc2a4\ud15c\uc744 \uad6c\ud604\ud558\uba70, \ucee8\ud2b8\ub864\ub7ec\ub97c \ucd94\uac00\ud558\uc5ec RESTful &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/26398\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T10:52:29+00:00","article_modified_time":"2024-11-26T07:44:44+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/26398\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/26398\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30","datePublished":"2024-10-27T10:52:29+00:00","dateModified":"2024-11-26T07:44:44+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/26398\/"},"wordCount":76,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/26398\/","url":"https:\/\/atmokpo.com\/w\/26398\/","name":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T10:52:29+00:00","dateModified":"2024-11-26T07:44:44+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/26398\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/26398\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/26398\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, JWT\ub85c \ub85c\uadf8\uc778 \ub85c\uadf8\uc544\uc6c3 \uad6c\ud604, \ucee8\ud2b8\ub864\ub7ec \ucd94\uac00\ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=26398"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26398\/revisions"}],"predecessor-version":[{"id":26399,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26398\/revisions\/26399"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=26398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=26398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=26398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}