Duration 26:58

Spring Boot Maven: Spring Security with JWT Authentication

1 331 watched
0
43
Published 27 Aug 2022

Welcome ! Subscribe : http://bit.ly/2QZ1GcZ ------------------- I'm going to setup spring boot maven project from scratch. And adding the neccessary dependencies as needed step by step and implement code line by using postman request testing for each step. Using Java, Spring, Other Libs & JJWT: java: 11 spring boot: V2.7.3 spring-web: 5.3.22 spring-security-web: 5.7.3 jjwt: V0.11.5 loombox: 1.18.24 #khmerside | #jwt | #JWTAuthentication | #springbot - Blog Article: https://yuthads.blogspot.com/2022/08/spring-boot-maven-project-spring.html - Git source code : HTTPS://GITHUB.COM/YUTH-SET/SPRING-BOOT-SECURITY-JWT-AUTHENTICATOIN * List of each section: ▸|00:00:00| Spring Boot Maven: Spring Security with JWT Authentication ▸|00:00:04| Set up spring boot maven project from scratch ▸|00:00:15| Add maven dependencies ▸|00:00:24| Import as maven project in Spring Tool Suite 4 ▸|00:00:37| Create rest controller class ▸|00:00:52| Create Rest API endpoint for home page ▸|00:01:18| Create spring security class & cofiguration ▸|00:02:11| Set in memory user authorization data with roles ▸|00:04:08| Create Rest API endpoint for admin page ▸|00:04:50| Create Rest API endpoint for normal user page ▸|00:06:35| Test login via browser ▸|00:06:51| Test login via postman tool ▸|00:07:53| Create login filter (user, pass authentication) ▸|00:08:45| Security Filter Chain configuration ▸|00:10:00| Create login filter class & configuration ▸|00:15:10| Test basic authentication login via postman ▸|00:15:50| Add JJWT dependencies ▸|00:16:06| Create Jwt Helper class & configuration ▸|00:16:57| Create secret key (using random string) ▸|00:17:31| Method to generate jwt token login authorization key ▸|00:20:00| Add necessary JJWT dependencies ▸|00:20:24| Test login (user & pass) to get jwt token authorization key via postman ▸|00:20:33| Check jwt token authorization key in jwt official site ▸|00:20:50| Jwt auhorization filter configuration ▸|00:26:24| Test login with jwt token authorization key ▸|00:26:47| Thank you! #khmerside #jwt #springboot ------------------- Track: Jim Yosef - Samurai [NCS Release] Music provided by NoCopyrightSounds. Watch: Free Download / Stream: http://NCS.io/Samurai ------------------- Hope this video can bring you with new idea and happy day... Help to subscribe, like and command to support my work.

Category

Show more

Comments - 6