Spring Security LOGIN with custom Database table (MySQL) | UserDetailsService #7
HTML-код
- Опубликовано: 8 июн 2024
- In this video we will implement a custom UserDetailsService and write the functionality for user login in spring security. In the last video we have used the JdbcUserDetailsManager to implement the login feature. The limitation for that is, we can define table and columns name by our own.We have to follow the default security schema to achieve the login functionality working.
In this video, we will go a step further and override the loadUserByUsername method from UserDetailsService interface and give it a implementation to load users from database. The key point here is that the table and column names are customised and we are not tightly coupled to the default JdbcUserDetailsService implementation.
Timestamp
-------------------
00:00 - Spring Security LOGIN with custom Database table
11:11 - writing a custom userdetailsservice
31:34 - loading login data using JdbcTemplate bean
42:48 - login using email id in spring security
#springsecurity #springboot #springframework
For more free/paid courses visit
www.seleniumexpress.com
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
• Java interview questio...
Watch my new Hello spring boot series
• Spring Vs Spring Boot ...
Watch Spring boot Hot topics
• @Reposicotry Vs @Servi...
Java Interview / Question and Answer series
• Java collections inter...
Explain spring Bean Lifecycle
• REAL-TIME: Spring Bean...
spring core
• Spring framework tutor...
spring mvc
• Spring MVC course intr...
spring mvc intermediate
• [INTERMEDIATE] Spring ...
Spring JDBC
• Spring JDBC Course Pre...
spring live project
• #1 Build and Deploy A ...
SPRING SECURITY COURSE[NEW]
• Spring Security Course...
For more courses visit
www.seleniumexpress.com
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to seleniumexpress@gmail.com
you can ping me on my Facebook page
/ seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
/ 187000222361579
you can ask for support in my website forum
www.seleniumexpress.com
Subscribe to my youtube channel
/ @seleniumexpress
Follow me on Insta
/ selenium_express
Thank you so much for the precious content sir✨✨.
Please upload more videos as soon as possible 😅
Hello abhi thankyou for the content . If possible please upload videos for spring security with boot
Please make video for multitenant application with seperate schema. I am waiting for your video. I have searched in youtubes no videos related on this and i cannot understand those videos. Please make
Thanks abhi ❤
My Pleasure !!
hi abhi...i want to get access to the other videos of the session ,but i couldn't find it anywhere.i even searched on the selenium express website but i could not find a course with above content.can u please provide me the link to the remaining session's of the security 6 . so that i will buy the course.
will you also explain jwt in further videos of this playlist ?
thanks abi but i have one doubt do we relly use free version of tomcat in enterprise and is it good practise to touch memory structure of tomcat i am working on real time project
Yes, the tomcat is widely used in real-time projects. It is pretty much optimised but you are free to customise further based on the needs.
i'm newbie ,I see there are two video playlists about Spring Security on your channel, so which playlist should I watch?
The last one was recorded with spring security 5.X as it was published couple of years ago. As there are some changes with latest security version (6.X), I had to rerecord it with the latest version.
You can follow this one, but the old one still makes 100 % sense apart from the first 2 videos. (Configuration related ). You can still refer that incase of a need. 😊
@@SeleniumExpress So, should I just watch the 'Spring Security Under the Hood' video playlist, right?
@@phamcongtoan1399 yes