No video

Spring Security Tutorial with Login Example (Spring Boot + Spring Security + MySQL)

  Рет қаралды 127,300

Daily Code Buffer

Daily Code Buffer

Күн бұрын

In this video, we'll go through the Spring Security Implementation with MySql
GitHub Link: bit.ly/368PUWm
Other Video:
-----------------------------------------------------------------------
Implementing JWT (JSON Web Tokens) with Spring Security in Springboot App - • Implementing JWT (JSON...
OAuth2 Spring Security using Facebook in Spring Boot - • OAuth2 Spring Security...
Go / Golang Full Course for Beginners - • Golang Tutorial for Be...
What is Kubernetes | Explained in detail with Architecture - • What is Kubernetes | E...
Kubernetes Components you need to know in 10 minutes - • Kubernetes Components ...
Kubernetes Commands with Example - kubectl - • Kubernetes Commands wi...
Kubernetes YAML Configuration | Deployment and Service - • Kubernetes YAML Config...
How to Deploy Quarkus App in Docker - • How to Deploy Quarkus ...
Follow us on :
--------------------------------------------------------
Website: www.dailycodebu...
Facebook: / dailycodebuffer
Twitter: / dailycodebuffer
Instagram: / dailycodebuffer
GitHub: github.com/dai...
My Laptop :
------------------------------------------------------
ASUS ROG Zephyrus G14, 14" - amzn.to/3tMb1I6
ASUS ROG Zephyrus G14, 14" (US) - amzn.to/3xa6X6m
Audio Gear :
------------------------------------------------------
Maono AU-A04 Condenser Microphone : amzn.to/32FOpwI
Maono AU-A04 Condenser Microphone (US) :amzn.to/3awzUj7
Secondary Audio :
------------------------------------------------------
Maono AU-100 Condenser Clip On Lavalier Microphone : amzn.to/3sGIbYd
Recommended Books:
------------------------------------------------------
Mastering Spring Boot 2.0 (Kindle): amzn.to/3tHJV4L
Mastering Spring Boot 2.0 (US) : amzn.to/3tHNUy5
Building Microservices(Kindle) : amzn.to/3gsA1jL
Building Microservices(US) : amzn.to/3dDnfNn
Spring Boot in Action : amzn.to/2Qo6YTM
Spring Boot in Action (US) : amzn.to/32DkeX9
Spring Microservices in Action : amzn.to/3gsA3rT
Spring Microservices in Action(US): amzn.to/32G3Hl7
Music:
-------------------------------------------------------
Hear the Noise (Sting): www.youtube.co...
“Sound effects obtained from www.zapsplat.com“
#SpringSecurity #DailyCodeBuffer

Пікірлер: 178
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Follow me on Twitter: twitter.com/DailyCodeBuffer
@farawayskies
@farawayskies 2 жыл бұрын
Thank you so much for producing a video that is less than 30min and filled with incredibly useful information to create our own real-world application. Spring Boot has been a really hard thing for a noobie like me to comprehend. These smaller videos to just comprehend small sections of the framework really helps. I've been spending over a week looking for this information.
@laponiec
@laponiec 3 жыл бұрын
Just managed to watch the first 5 mins, and I am already giving you thumbs up for explaining how to get rid of that login page, a thing that other tutorial hasn'r explained in almost 2 hrs long video. Thank you very much.
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you so much
@p_n002
@p_n002 Жыл бұрын
I'm also read comment like before watching i will update after completing i understand or not
@prawintowin
@prawintowin 3 жыл бұрын
Excellent!!! Please make a video on Oauth implementation.
@oshogarg341
@oshogarg341 3 жыл бұрын
Killer Tutorrial . Best Tutorial on YT
@tradewithtony
@tradewithtony 3 жыл бұрын
Great explanation man, I'm following all your videos.
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thank you so much
@rajeevkalangi2472
@rajeevkalangi2472 3 жыл бұрын
I see a lot of potential in you... You are the best tutor for Spring Boot... Keep up the work bro...
@goutham_gsm
@goutham_gsm 2 ай бұрын
Very simple and great explanation.
@quangphucvu6286
@quangphucvu6286 Жыл бұрын
My English is so bad , but somehow i still understand everything u said Thumbs up for you man
@kalpanashinde8345
@kalpanashinde8345 3 жыл бұрын
Very nice flow n presentation , content...jst love your tutorials👍
@user-ej7lz1op9g
@user-ej7lz1op9g Жыл бұрын
u made security so simple, thanks for the video
@minalraj8839
@minalraj8839 2 жыл бұрын
Awesome explanations for new learners of Spring framework. Really helpful content!!
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@jenishajenika5975
@jenishajenika5975 10 ай бұрын
thank you ,in 2023 SpringwebsecutrityAdaptor class is deprecated so, it too hard to implement ... can you explain that on another video
@TechwithKB
@TechwithKB 10 ай бұрын
Yeah I've noted that too
@aibynsagyndyk6281
@aibynsagyndyk6281 2 жыл бұрын
Thank you very much, bro! I am a beginner in Spring and it was very helpful instruction for me. Good luck!
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@Arkainebe
@Arkainebe 5 ай бұрын
Thank you man. Very well explained.
@a.m.jyotiprakashsahu5754
@a.m.jyotiprakashsahu5754 2 жыл бұрын
WebSecurityConfigurerAdapter is deprecated. what to do?
@JavaJourneys
@JavaJourneys Жыл бұрын
Can you make an updated version of this vedeo
@Jigsaw927
@Jigsaw927 Жыл бұрын
I'm following your tutorial but am stuck at 7:51, with the latest spring security it claims that WebSecurityConfigurationAdapter is deprecated. For 2023, what should I use instead? Thanks for the video!
@3r3bu5x9
@3r3bu5x9 Жыл бұрын
same if you find any tutorial with uses the latest spring security please provide a link
@bobHAYES21
@bobHAYES21 Жыл бұрын
@SecurityFilterChain Annonation is used with configure instade We security configurationAdapter
@bobHAYES21
@bobHAYES21 Жыл бұрын
Instead*
@bobHAYES21
@bobHAYES21 Жыл бұрын
That is literally all you have to do, if you want news about Spring changes follow Dan Vega
@n.risliazis4332
@n.risliazis4332 3 жыл бұрын
simple and clear explanation. thank you.
@luisluiscunha
@luisluiscunha 2 жыл бұрын
You explain well. Thank you. And congrats.
@AmitVerma-rc1ex
@AmitVerma-rc1ex 3 жыл бұрын
multitennant based microservice ( one microservice ( or one app operating) on multiple databases and separate database for each client ) would be greatly beneficial as a tutorial, please implement it
@pawankrishna8918
@pawankrishna8918 Жыл бұрын
can you please remake a video on this topic with spring recent release. because WebSecurityConfigurerAdapter depricated. thank you.
@priyankau1982
@priyankau1982 3 жыл бұрын
Big fan of your tutorials..looking forward for new ones if possible pls include devops full course tutorials
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thanks 👍
@dmitriydmitriy7270
@dmitriydmitriy7270 10 ай бұрын
Thank you for a very informative tutorial!
@DailyCodeBuffer
@DailyCodeBuffer 10 ай бұрын
Glad it was helpful!
@chethanrn1069
@chethanrn1069 Жыл бұрын
please enable transcription to the video
@ahmettachmuradov8630
@ahmettachmuradov8630 3 жыл бұрын
great explanation, great approach and easily understandable. Thanks very much.
@LTZMSYAL
@LTZMSYAL 2 жыл бұрын
Thank's a lot for the tuto! Very well done
@mehmedakifay4005
@mehmedakifay4005 3 жыл бұрын
Perfect explanation. Thank you.
@hamidmohammadi8570
@hamidmohammadi8570 Ай бұрын
Great 👍 Thank you. How about client-server application?
@marvinsilva5117
@marvinsilva5117 Жыл бұрын
Thank you for that video, very undestandable
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
Thanks 🙏
@nogamenolife1135
@nogamenolife1135 2 жыл бұрын
Hi can you please implement this with mongoDB + JWT + Authentication + OAuth please login and registration
@amithkashyap9107
@amithkashyap9107 3 жыл бұрын
Hey, can you please make a vedio on calling a microservice which is implemented with spring security from another microservice and also best practices to be followed
@sakhrnabil7
@sakhrnabil7 3 жыл бұрын
@Daily Code Buffer yes please
@AnkitKumar-jg1yh
@AnkitKumar-jg1yh 2 жыл бұрын
Thankyou so much for making such an useful tutorial.
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏🏻
@MugiwaraTeamDLuffy
@MugiwaraTeamDLuffy 2 жыл бұрын
Which is the best way to create a secure microservice architecture? Something like this video or using JWT? Another question is: is it safe to send credentials in the body or in the headers?
@gauravdewalkar4830
@gauravdewalkar4830 3 жыл бұрын
Crisp and clear! Thanks 😊
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
🙏
@jobinjoseph3288
@jobinjoseph3288 Жыл бұрын
thanks a lot!!! so nice reverb
@wokyop4513
@wokyop4513 3 жыл бұрын
Wow. Thanks man. You're just awesome
@rohinisubramanian1499
@rohinisubramanian1499 2 жыл бұрын
Hi! Thank you so much for the video. I have been following various videos but I am stuck with a badcredentialsexception. Any suggestions on how to fix?
@alisha08ish
@alisha08ish 3 жыл бұрын
Awesome video,please make a video on spring security using oauth2
@srilathareddy9450
@srilathareddy9450 Жыл бұрын
Excellent Explanation
@DailyCodeBuffer
@DailyCodeBuffer 10 ай бұрын
Glad it was helpful!
@MyJavaTech
@MyJavaTech Жыл бұрын
Thank you . easy to understand.
@DailyCodeBuffer
@DailyCodeBuffer 10 ай бұрын
Glad it was helpful!
@sohailzahid9265
@sohailzahid9265 Жыл бұрын
Good job man.
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
Thanks 🙏
@paayalful
@paayalful 3 жыл бұрын
this error appears on console while trying to run....Encoded password does not look like BCrypt......what to do?
@faaizaslam2762
@faaizaslam2762 2 жыл бұрын
same
@robotsturm6488
@robotsturm6488 3 жыл бұрын
thanks man, i really like the tutorial
@AaronEzekiel752
@AaronEzekiel752 3 жыл бұрын
spring security jwt and ldap..please
@maksimpinchuk7062
@maksimpinchuk7062 Жыл бұрын
does WebSecurityConfigurerAdapter exist nowadays?
@ritam378
@ritam378 2 жыл бұрын
Bro, u are always precise and to the point. A big thumbs up from me 👍
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏
@raffievellila2683
@raffievellila2683 Жыл бұрын
it worked! thank you so much!!
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
Thanks 🙏🏻
@sangtan6430
@sangtan6430 3 жыл бұрын
perfect video. Thanks so much
@jittukadu8628
@jittukadu8628 Ай бұрын
thanks, buddy, I was stuck authentication provider.
@koshailimited3805
@koshailimited3805 3 жыл бұрын
Hey there, lots of love for your great tutorials. Can you make a tutorial on Azure App based services with spring boot. Thanks in advance
@vinod2490
@vinod2490 2 жыл бұрын
Seriously excellent sir
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thank you 🙏🏻
@priscillavannyamelia8736
@priscillavannyamelia8736 Жыл бұрын
Awesome Video! Thank you
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
Thanks 🙏🏻
@dheebanm3207
@dheebanm3207 3 жыл бұрын
Thanks for this tutorial bro,awesome...
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
🙏
@mdhabibalam4802
@mdhabibalam4802 3 жыл бұрын
very nice and helpful that video thanks alot
@prabhathwijewardhana1285
@prabhathwijewardhana1285 Жыл бұрын
Best video ever
@khushbooJahanRiaz
@khushbooJahanRiaz 3 жыл бұрын
You make it seem so easy...thanks a lot Shabbir....keep it up...could u plz make a video...Google And Microsoft Calendar API integration using Spring boot Oauth2 and MYsql and also in that Social login integration please make ASAP ........which involves MYSQL also how to test it ......Thanks...JaZaaaKallaah Khair
@antonmariadas7747
@antonmariadas7747 2 жыл бұрын
good job ! Thanks for the tutorial
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thanks 🙏
@supratikm
@supratikm 3 жыл бұрын
Awesome and the most time saving tutorial on SpringBoot Security and Login. Please add a deep dive video on after login session management. SpringBoot Session Management and session related security practices
@026_arhmarehman8
@026_arhmarehman8 11 ай бұрын
Thank you, It works!!!
@DailyCodeBuffer
@DailyCodeBuffer 10 ай бұрын
Great!
@cobalt79R
@cobalt79R 2 жыл бұрын
Thanks for this awesome tutorial! Just a little question: If we have lots of roles with many endpoints, Do we use @PreAuthorize annotation instead of hasAuthority() methods in security config in order to make it cleaner?
@shubhamdeshmukh1866
@shubhamdeshmukh1866 3 жыл бұрын
bro hats off .. but how to do postmapping? please explain for postmapping
@vb5969
@vb5969 2 жыл бұрын
Good content..also good that keyboard noise is lower than voice.. Some other videos on some other channels its way too irritating to hear mechanical keyboard noise...
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
Thank you and sorry about that
@vb5969
@vb5969 2 жыл бұрын
@@DailyCodeBuffer i dont mean your videos... 🙂
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
I also have fee videos where I have used Mechanical keyboard 😜
@priyanka_s
@priyanka_s Жыл бұрын
Great tutorial !!!
@DailyCodeBuffer
@DailyCodeBuffer Жыл бұрын
Thanks 🙏
@shaileshkumar2806
@shaileshkumar2806 2 жыл бұрын
Skillful
@anushgm4947
@anushgm4947 Жыл бұрын
This works well on getmapping request, will the same security configuration work for postmapping as well ?
@vk5503
@vk5503 2 жыл бұрын
please do the vedio with okta token security
@abhishek611sharma
@abhishek611sharma Жыл бұрын
Fantastic job.
@DailyCodeBuffer
@DailyCodeBuffer 10 ай бұрын
Thanks 🙏
@vudumshiva4162
@vudumshiva4162 2 жыл бұрын
Hi bro,How to use different userdetail service to different endpoints. I have /student/login should use studentuserdetailservice , /staff/login should use staffuserdetailservice.
@braulioarencibia7407
@braulioarencibia7407 2 жыл бұрын
Thank you!
@prometheusli101
@prometheusli101 3 жыл бұрын
this is great,but i wonder how can it connect to Android app?could you make a example course?
@chandsmd9847
@chandsmd9847 3 жыл бұрын
I'm getting error in postman 401 unauthorized similar to 403 forbidden like that... How can I resolve it... I followed all steps what u said
@isurumw6119
@isurumw6119 Жыл бұрын
when I implement the method loadUserByUsername in CustomUserDetailsService class the variable comes as String s not String username. what should I do? Like this loadUserByUsername(String s)
@stakhovskiy
@stakhovskiy 2 жыл бұрын
Thank you.
@AkashThkr7
@AkashThkr7 2 жыл бұрын
Sir I've to add "ROLE_" before my role in DB, not able to access directly by admin or user role
@dreb.7760
@dreb.7760 2 жыл бұрын
Thank you so much!
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
🙏🏻
@riyapriya
@riyapriya 3 жыл бұрын
i need a doubt from controller part with mapping procedure quesry
@braulioarencibia7407
@braulioarencibia7407 2 жыл бұрын
Thanks!
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
🙏🏻
@nesreenmohd665
@nesreenmohd665 3 жыл бұрын
Thank you so much.
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
🙏
@MukeshGupta-zr7yc
@MukeshGupta-zr7yc 2 жыл бұрын
I checked the api using postman it it showing error
@Maaa4216
@Maaa4216 2 жыл бұрын
Table not created what should I do
@emmanuelpregnolato5026
@emmanuelpregnolato5026 3 жыл бұрын
Awesome work. Quick question. In the class WebSecurityConfiguration the @Autowired field is of type UserDetailsService and not CustomUserDetailsService. I know it's working and sometime Spring uses some black magic, so my guess is that the framework sees on it's classpath the CustomUserDetailsService and passes that instance?
@joelhenz8764
@joelhenz8764 2 жыл бұрын
Great tutorial, keep on with the good work! Maybe you can help me with my one question: I accidentally mistyped the method 'findByUsername' in the UserRepository and could not start the app. Where exactly is this method defined? I looked at the interface hierarchy and could not find any method called like this. Thanks in advance!
@DailyCodeBuffer
@DailyCodeBuffer 2 жыл бұрын
That is format defined by Spring Data JPA. Based in the name of field we can just declare the methods
@viswapratap4863
@viswapratap4863 Жыл бұрын
Can you help me doing the same login using MSAL4J
@mastanvalishaik8156
@mastanvalishaik8156 3 жыл бұрын
Can you teach the whole course shabbir, please let me know ...
@nourdrissi5781
@nourdrissi5781 3 жыл бұрын
nice job bro it helpfull but if you you don't mind can you creat a custom login system using Angular and spring security
@mariajenifer7714
@mariajenifer7714 Жыл бұрын
Can anybody tell me why Im getting bad credentials even if the credentials are correct?
@jitusorout
@jitusorout 3 жыл бұрын
I am facing an issue with security, I need to esign a doc with aadhar on another website , while returning back from there if I came back within 30 to 40 sec , it came back to same user , otherwise it sends to anonymous user.
@saicharanpoleboina2770
@saicharanpoleboina2770 Жыл бұрын
If I use a custom login page running on another port and trying to access this port I am getting cors error even though I allowed all ports Can anyone help me with this please .
@user-vt6fz4wq9b
@user-vt6fz4wq9b 3 жыл бұрын
good job!!!
@sandeepvalapi3731
@sandeepvalapi3731 3 жыл бұрын
Well explained
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Thanks
@sush2142
@sush2142 2 жыл бұрын
How does logout work on this? And can I have specific url for login? Like /admin/login and get session id as response?
@a.m.jyotiprakashsahu5754
@a.m.jyotiprakashsahu5754 2 жыл бұрын
WebSecurityConfigurerAdapter is deprecated now on spring security version 5.7. Please make a video on latest version.
@sandipnaik9422
@sandipnaik9422 Жыл бұрын
Spring Boot + Spring Security +my sql +react how to do that one
@basu530
@basu530 3 жыл бұрын
@DailyCodeBuffer How is it taking the password from the password we have provided in the client (angular or postman)? is that happening in WebSecurityConfiguration class where we are setting the password to get DAO provider?
@dasunwahalathanthrige5872
@dasunwahalathanthrige5872 3 жыл бұрын
Hi, I have a problem here, Suppose I am entering the correct username but the wrong password, still the system allowing user to enter the home. if I want to authenticate from both username and password how can we do that?
@animetsukuyomi7840
@animetsukuyomi7840 3 жыл бұрын
Bro pls make registration page also.. login page was not working when I entered password hash value directly into SQL.
@pratapjavasingh3239
@pratapjavasingh3239 3 жыл бұрын
One video required only outh implementation industry standards please please please 🙏
@DailyCodeBuffer
@DailyCodeBuffer 3 жыл бұрын
Will plan for it, thanks for suggestions 🙏
@saumitrasaxena8470
@saumitrasaxena8470 2 жыл бұрын
How do I download the project from GitHub? I don't see any option for download
@OmbasaMukhwami
@OmbasaMukhwami 3 жыл бұрын
wonderful
Implementing JWT (JSON Web Tokens) with Spring Security in Springboot App
36:25
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,6 МЛН
This Dumbbell Is Impossible To Lift!
01:00
Stokes Twins
Рет қаралды 35 МЛН
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 2,6 МЛН
OAuth 2.0 Implementation with Spring Security and Spring Boot | Full Example
1:11:15
Microservices using SpringBoot | Full Example
1:21:39
Daily Code Buffer
Рет қаралды 1 МЛН
Complete JWT Authentication and Authorisation in Spring Boot
48:43
Engineering Digest
Рет қаралды 17 М.
Spring Security Architecture Explained
14:41
Amigoscode
Рет қаралды 104 М.
Handle 1,000,000 Threads with Java and Spring Boot !!!
21:50
Daily Code Buffer
Рет қаралды 23 М.
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,6 МЛН