Spring Security Tutorial with Login Example (Spring Boot + Spring Security + MySQL)
HTML-код
- Опубликовано: 20 сен 2024
- 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
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.
Thank you so much
I'm also read comment like before watching i will update after completing i understand or not
Excellent!!! Please make a video on Oauth implementation.
does WebSecurityConfigurerAdapter exist nowadays?
Great explanation man, I'm following all your videos.
Thank you so much
Killer Tutorrial . Best Tutorial on YT
thank you ,in 2023 SpringwebsecutrityAdaptor class is deprecated so, it too hard to implement ... can you explain that on another video
Yeah I've noted that too
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!
same
if you find any tutorial with uses the latest spring security please provide a link
@SecurityFilterChain Annonation is used with configure instade We security configurationAdapter
Instead*
That is literally all you have to do, if you want news about Spring changes follow Dan Vega
Can you make an updated version of this vedeo
WebSecurityConfigurerAdapter is deprecated. what to do?
can you please remake a video on this topic with spring recent release. because WebSecurityConfigurerAdapter depricated. thank you.
Awesome explanations for new learners of Spring framework. Really helpful content!!
Thanks 🙏🏻
Hi can you please implement this with mongoDB + JWT + Authentication + OAuth please login and registration
Very nice flow n presentation , content...jst love your tutorials👍
I see a lot of potential in you... You are the best tutor for Spring Boot... Keep up the work bro...
u made security so simple, thanks for the video
Very simple and great explanation.
please enable transcription to the video
Thank you man. Very well explained.
You explain well. Thank you. And congrats.
Thank you very much, bro! I am a beginner in Spring and it was very helpful instruction for me. Good luck!
Thanks 🙏🏻
simple and clear explanation. thank you.
spring security jwt and ldap..please
this error appears on console while trying to run....Encoded password does not look like BCrypt......what to do?
same
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
@Daily Code Buffer yes please
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?
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
great explanation, great approach and easily understandable. Thanks very much.
Great 👍 Thank you.
How about client-server application?
Perfect explanation. Thank you.
Thank's a lot for the tuto! Very well done
Crisp and clear! Thanks 😊
🙏
Thank you for a very informative tutorial!
Glad it was helpful!
Wow. Thanks man. You're just awesome
Big fan of your tutorials..looking forward for new ones if possible pls include devops full course tutorials
Thanks 👍
Thank you for that video, very undestandable
Thanks 🙏
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 man.
Thanks 🙏
Thankyou so much for making such an useful tutorial.
Thanks 🙏🏻
thanks a lot!!! so nice reverb
thanks, buddy, I was stuck authentication provider.
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
Awesome video,please make a video on spring security using oauth2
thanks man, i really like the tutorial
Thank you . easy to understand.
Glad it was helpful!
Excellent Explanation
Glad it was helpful!
bro hats off .. but how to do postmapping? please explain for postmapping
please do the vedio with okta token security
Awesome Video! Thank you
Thanks 🙏🏻
perfect video. Thanks so much
this is great,but i wonder how can it connect to Android app?could you make a example course?
Thanks for this tutorial bro,awesome...
🙏
This works well on getmapping request, will the same security configuration work for postmapping as well ?
I checked the api using postman it it showing error
Hi bro,How to use different userdetail service to different endpoints. I have /student/login should use studentuserdetailservice , /staff/login should use staffuserdetailservice.
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
Can you teach the whole course shabbir, please let me know ...
it worked! thank you so much!!
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
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.
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?
Sir I've to add "ROLE_" before my role in DB, not able to access directly by admin or user role
good job ! Thanks for the tutorial
Thanks 🙏
WebSecurityConfigurerAdapter is deprecated now on spring security version 5.7. Please make a video on latest version.
Great tutorial !!!
Thanks 🙏
Table not created what should I do
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)
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!
That is format defined by Spring Data JPA. Based in the name of field we can just declare the methods
Seriously excellent sir
Thank you 🙏🏻
Can anybody tell me why Im getting bad credentials even if the credentials are correct?
Best video ever
very nice and helpful that video thanks alot
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...
Thank you and sorry about that
@@DailyCodeBuffer i dont mean your videos... 🙂
I also have fee videos where I have used Mechanical keyboard 😜
My English is so bad , but somehow i still understand everything u said
Thumbs up for you man
Thank you, It works!!!
Great!
Hello Brother, I case of any doubt or question how can I connect to you. ? Please confirm ... Thanku
Message me on twitter or comment here.
I will try to help
Bro pls make registration page also.. login page was not working when I entered password hash value directly into SQL.
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?
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?
Spring Boot + Spring Security +my sql +react how to do that one
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?
Fantastic job.
Thanks 🙏
Can you help me doing the same login using MSAL4J
How does logout work on this? And can I have specific url for login? Like /admin/login and get session id as response?
How do I download the project from GitHub? I don't see any option for download
i need a doubt from controller part with mapping procedure quesry
Bro, u are always precise and to the point.
A big thumbs up from me 👍
Thanks 🙏
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 .
nice job bro it helpfull but if you you don't mind can you creat a custom login system using Angular and spring security
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 :(
@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?
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
One video required only outh implementation industry standards please please please 🙏
Will plan for it, thanks for suggestions 🙏
Thank you!
Thank you so much!
🙏🏻
good job!!!
Thank you so much.
🙏
Skillful
Thank you.