Рет қаралды 12,664
In this video, I will help you to set up a JDBC authentication with spring security from scratch.In the previous videos we were learning to authenticate users from in memory where we used to store users in the server memory.
This is one of the simplest approach to set up a database for spring security users and load them using spring security default schema. I will give you a deep dive on the users and authority schema.
By following the spring security schema, we have to write minimal code as spring internally takes care of writing the users retrieval logic.
Time Stamp
Introduction : 00:00
Spring Security Database Default Schema - 06:52
Crating the Users table - 07:25
Users and Authorities table relationships: 16:25
Creating the Authorities table: 22:16
Adding Spring JDBC dependency: 30:12
Creating a Datasource :32:50
Configuring jdbc authentication : 40:16
Authenticating users with NoopPasswordEncoder : 45:07
Authenticating users with BcyrptPasswordEncoder: 47:46
Channel Update : 54:27
How A Password Encoder works: 57:23
Before you get started with my spring security course, make sure that you have completed my earlier spring courses i.e
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 ...
If you are new here and you are already experienced with spring framework, you can continue with this course as well.
#SpringSecurity #SpringSecurityFullCourse #Spring
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 KZbin channel
/ @seleniumexpress
Follow me on Insta
/ selenium_express
Music :
-----
credits: -
(channel intro)
Adventures by A Himitsu / a-himitsu
Creative Commons - Attribution 3.0 Unported- CC BY 3.0
creativecommons.org/licenses/b...
Music released by Argofox • A Himitsu - Adventures...
Music provided by Audio Library • Adventures - A Himitsu...