Master Spring Security Basics - II | Step by Step tutorial for beginners | Episode - 3

preview_player
Показать описание
In this video we will continue to learn the basics of spring security step by step. In this video we will learn about the UserBuilder class to build users in our framework. This helps us to avoid using the User class constructor explicitly and reduces the lines of code. With this, we will also learn about a design patten called builder design pattern

By calling the username(), password() and roles() method of UserBuilder, we are giving responsibility to the UserBuilder class to construct the user and its roles internally.

In this video we will also see the internal implementation of Spring Security’s inMemeoryUserDetailsManager and how it is storing the users that we are creating. The inMemeoryUserDetailsManager internally uses java a HashMap to store users into the server.This users will be removed once the servers restarted.

In this Step by Step tutorial for beginners, We will also discuss about the password encoder and Different types of password encoders like NoopPasswordEncoder and BcryptPasswordEncoder. We will discuss about the matches and encode method of the PasswordEncoder which will eventually gets called during the create user (registration process) and retrieving user (load user by username) during the login process.

Let’s dive in and Master the Spring Security Basics

Timestamp
—————
00:00:00 - Introduction
00:02:12 - Spring Security Interview Questions
00:13:17 - Configure User using UserBuilder
00:22:41 - A Builder Design Pattern
00:28:07 - Setting up UserDetailsManager
00:31:47 - PasswordEncoder
00:38:29 - NoopPasswordEncoder Vs BcryptPaswordEncoder
00:49:05 - InMemeoryUserDetailsManager Internals
00:53:31 - UserDetailsService: loadUserByUserName

#springsecurity
#springboot #springboottutorial
#springbootinterviewquestions

For more free/paid courses visit

LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers

Watch my new Hello spring boot series

Watch Spring boot Hot topics

Java Interview / Question and Answer series

Explain spring Bean Lifecycle

spring core

spring mvc

spring mvc intermediate

Spring JDBC

spring live project

SPRING SECURITY COURSE[NEW]

For more courses visit

Any time you are getting stuck with issues, Feel free to ask for support.

you can ping me on my Facebook page

Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"

you can ask for support in my website forum

Subscribe to my youtube channel

Follow me on Insta
Рекомендации по теме
Комментарии
Автор

Hi anna, the way you teaching skills was awesome that i have never seen any Institute faculty sir of teaching way like this. I hope please continue the sessions of spring security anna.

donthamsettisai
Автор

keep going u doing great i can't wait to the next lecture

aflamm
Автор

So elegant, so beautiful, just like a wow... ❤

omit_krish
Автор

Hi abhilash, please hope you will be uploading the full series on security.. this was more insightful.. please upload full series. Please make videos on jwt oauth and ldap securities as well t... Thanks !

karthibaby
Автор

Awesome !!, Did not expect this soon .., Thank Abhilash.

manojpandey
Автор

Hi Bro, I am fan of your videos and learnt a lot..Thats why sharing this information.Currrently, I need to work on Spring Reactive with Cassandra and based on this I have searched so many tutorials and references and nor found exactly and no proper information. My side request is like this me so many persons might be struggled.So, could you please start a Spring or Springboot Reactive series with Cassandra..It's so much very helpful and currently in industry willmplan to do this..That's why I am sharing this information.

vndprasadgrandhi
Автор

thanks for the help full videos when is the next video will be uploaded thanks for your hard work

hadiismail
Автор

Hi Abhilash. Please cover custom JWT authentication in your lectures. I looked for this in your earlier spring security playlist but didn't find this. I really need to learn this from you.

compiled
Автор

Thanks bro.I was wating for this one❤‍🔥

fitnessholicmallu
Автор

Hi Abhilash, you have created great content on Spring framework. It would be great if you could create a paid course regarding Effective Java 3rd edition by Joshua Bloch. There are some videos already in youtube but not that great.

peterbittu
Автор

Hi Abhilash I hope at least this series you'll fully completed for YouTube family ❤❤
Because many of us doesn't offord paid courses 😅😅

hrsatsangi
Автор

Hii sir
I'm following you sir.
I have one request sir please do a video on Java 8 features.

shilpapatil
Автор

Sir when next security video will be uploaded

debiprasaddash