Spring Security Tutorial with Login Example (Spring Boot + Spring Security + MySQL)
Ғылым және технология
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.dailycodebuffer.com/
Facebook: / dailycodebuffer
Twitter: / dailycodebuffer
Instagram: / dailycodebuffer
GitHub: github.com/dailycodebuffer
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): kzread.info...
“Sound effects obtained from www.zapsplat.com“
#SpringSecurity #DailyCodeBuffer
Пікірлер: 177
Follow me on Twitter: twitter.com/DailyCodeBuffer
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.
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
3 жыл бұрын
Thank you so much
@p_n002
Жыл бұрын
I'm also read comment like before watching i will update after completing i understand or not
u made security so simple, thanks for the video
Killer Tutorrial . Best Tutorial on YT
Great explanation man, I'm following all your videos.
@DailyCodeBuffer
3 жыл бұрын
Thank you so much
Very simple and great explanation.
Very nice flow n presentation , content...jst love your tutorials👍
simple and clear explanation. thank you.
You explain well. Thank you. And congrats.
Thank's a lot for the tuto! Very well done
Thank you man. Very well explained.
Excellent!!! Please make a video on Oauth implementation.
Thank you very much, bro! I am a beginner in Spring and it was very helpful instruction for me. Good luck!
@DailyCodeBuffer
2 жыл бұрын
Thanks 🙏🏻
Perfect explanation. Thank you.
Crisp and clear! Thanks 😊
@DailyCodeBuffer
3 жыл бұрын
🙏
Wow. Thanks man. You're just awesome
thanks man, i really like the tutorial
great explanation, great approach and easily understandable. Thanks very much.
thanks a lot!!! so nice reverb
Thank you for a very informative tutorial!
@DailyCodeBuffer
7 ай бұрын
Glad it was helpful!
Thankyou so much for making such an useful tutorial.
@DailyCodeBuffer
2 жыл бұрын
Thanks 🙏🏻
Awesome explanations for new learners of Spring framework. Really helpful content!!
@DailyCodeBuffer
2 жыл бұрын
Thanks 🙏🏻
Big fan of your tutorials..looking forward for new ones if possible pls include devops full course tutorials
@DailyCodeBuffer
3 жыл бұрын
Thanks 👍
perfect video. Thanks so much
I see a lot of potential in you... You are the best tutor for Spring Boot... Keep up the work bro...
Thank you for that video, very undestandable
@DailyCodeBuffer
Жыл бұрын
Thanks 🙏
Thanks for this tutorial bro,awesome...
@DailyCodeBuffer
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
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?
good job ! Thanks for the tutorial
@DailyCodeBuffer
2 жыл бұрын
Thanks 🙏
very nice and helpful that video thanks alot
it worked! thank you so much!!
@DailyCodeBuffer
Жыл бұрын
Thanks 🙏🏻
Awesome Video! Thank you
@DailyCodeBuffer
Жыл бұрын
Thanks 🙏🏻
Thank you . easy to understand.
@DailyCodeBuffer
7 ай бұрын
Glad it was helpful!
Awesome video,please make a video on spring security using oauth2
Best video ever
Great tutorial !!!
@DailyCodeBuffer
Жыл бұрын
Thanks 🙏
Excellent Explanation
@DailyCodeBuffer
7 ай бұрын
Glad it was helpful!
Good job man.
@DailyCodeBuffer
Жыл бұрын
Thanks 🙏
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?
Thank you, It works!!!
@DailyCodeBuffer
7 ай бұрын
Great!
This works well on getmapping request, will the same security configuration work for postmapping as well ?
Fantastic job.
@DailyCodeBuffer
7 ай бұрын
Thanks 🙏
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
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)
Seriously excellent sir
@DailyCodeBuffer
2 жыл бұрын
Thank you 🙏🏻
good job!!!
Bro, u are always precise and to the point. A big thumbs up from me 👍
@DailyCodeBuffer
2 жыл бұрын
Thanks 🙏
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?
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
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?
Thank you!
Skillful
Hi bro,How to use different userdetail service to different endpoints. I have /student/login should use studentuserdetailservice , /staff/login should use staffuserdetailservice.
can you please remake a video on this topic with spring recent release. because WebSecurityConfigurerAdapter depricated. thank you.
Thank you so much!
@DailyCodeBuffer
2 жыл бұрын
🙏🏻
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
@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?
Thank you.
WebSecurityConfigurerAdapter is deprecated. what to do?
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.
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
2 жыл бұрын
That is format defined by Spring Data JPA. Based in the name of field we can just declare the methods
Thank you so much.
@DailyCodeBuffer
2 жыл бұрын
🙏
Can you make an updated version of this vedeo
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
Sir I've to add "ROLE_" before my role in DB, not able to access directly by admin or user role
Well explained
@DailyCodeBuffer
3 жыл бұрын
Thanks
Thanks!
@DailyCodeBuffer
2 жыл бұрын
🙏🏻
thank you ,in 2023 SpringwebsecutrityAdaptor class is deprecated so, it too hard to implement ... can you explain that on another video
@johnykb
7 ай бұрын
Yeah I've noted that too
please enable transcription to the video
i need a doubt from controller part with mapping procedure quesry
How does logout work on this? And can I have specific url for login? Like /admin/login and get session id as response?
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
2 жыл бұрын
@Daily Code Buffer yes please
wonderful
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?
does WebSecurityConfigurerAdapter exist nowadays?
Hi can you please implement this with mongoDB + JWT + Authentication + OAuth please login and registration
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 .
bro hats off .. but how to do postmapping? please explain for postmapping
Just watched your video and it's awesome, the problem is, I keep on getting this error code: Description: Parameter 0 of constructor in com.java.ph3.halinamarket.adapter.CustomUserDetails required a bean of type 'com.java.ph3.halinamarket.models.User' that could not be found. Action: Consider defining a bean of type 'com.java.ph3.halinamarket.models.User' in your configuration. can you help me please :(
Can you help me doing the same login using MSAL4J
My English is so bad , but somehow i still understand everything u said Thumbs up for you man
nice job bro it helpfull but if you you don't mind can you creat a custom login system using Angular and spring security
Hey, I tried implementing the code but for correct user name and password I am getting 500 that is internal server error. Can you please help?
WebSecurityConfigurerAdapter is deprecated now on spring security version 5.7. Please make a video on latest version.
Bro pls make registration page also.. login page was not working when I entered password hash value directly into SQL.
Superb..
@DailyCodeBuffer
3 жыл бұрын
Thank you
spring security jwt and ldap..please
Hey, i like your teaching style. There is no any verbose. 🤙
@DailyCodeBuffer
3 жыл бұрын
Thanks ☺️
How do I download the project from GitHub? I don't see any option for download
this is great,but i wonder how can it connect to Android app?could you make a example course?
awsome
Can anybody tell me why Im getting bad credentials even if the credentials are correct?
I checked the api using postman it it showing error
this error appears on console while trying to run....Encoded password does not look like BCrypt......what to do?
@faaizaslam2762
2 жыл бұрын
same
please do the vedio with okta token security
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
2 жыл бұрын
Thank you and sorry about that
@vb5969
2 жыл бұрын
@@DailyCodeBuffer i dont mean your videos... 🙂
@DailyCodeBuffer
2 жыл бұрын
I also have fee videos where I have used Mechanical keyboard 😜
Can you teach the whole course shabbir, please let me know ...
Great
@DailyCodeBuffer
3 жыл бұрын
Thanks