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
https://www.seleniumexpress.com
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
• Java interview questions and answers ...
Watch my new Hello spring boot series
• Spring Vs Spring Boot - Why Spring Bo...
Watch Spring boot Hot topics
• @Reposicotry Vs @Service | Spring Boo...
Java Interview / Question and Answer series
• Java collections interview questions ...
Explain spring Bean Lifecycle
• REAL-TIME: Spring Bean life cycle usi...
spring core
• Spring framework tutorial for beginne...
spring mvc
• Spring MVC course introduction || Und...
spring mvc intermediate
• [INTERMEDIATE] Spring MVC Course Prev...
Spring JDBC
• Spring JDBC Course Preview || Let’s t...
spring live project
• #1 Build and Deploy A Spring Project ...
SPRING SECURITY COURSE[NEW]
• Spring Security Course Preview | Lear...
For more courses visit
https://www.seleniumexpress.com
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to [email protected]
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
https://www.seleniumexpress.com
Subscribe to my youtube channel
/ @seleniumexpress
Follow me on Insta
/ selenium_express