Spring Security Tutorial for Beginners [2022 Edition]

preview_player
Показать описание
#springsecurity #springbootrestapi #springboot #springbootsecurity #2022

Timestamps

00:00:00 - Default Configuration
00:16:43 - Customize Spring Security
00:30:54 - Deny all the HTTP requests
00:38:41 - Customize the multiple users
00:46:26 - Configure users using InMemory UserDetailsManager
00:55:49 - Create Custom User Details Service
01:14:00 - Encode the password
01:23:22 - Spring security Login API
01:30:54 - Create a custom Authentication provider
01:43:04 - Configure authorities
02:01:25 - Configure user roles
02:14:10 - Method level security

Build Production Ready REST API with Spring Boot - Expense Tracker API @ Udemy [94% discount]

Full-stack development with React and Spring Boot @ Udemy [94% Discount]

JSP and Servlets Complete Course @ Udemy [94% Discount]

Find the source code here -

🤑🤑 Donate
--------------------------------------

For Business Inquiries Email @

Follow me to stay updated -

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

You are a great teacher very patient and easy to understand. Cannot thank you enough! Also WebSecurityConfigurerAdapter is deprecated and Now you have to declare two beans of type SecurityFilterChain and WebSecurityCustomizer. Maybe a course update?

AppleMenace
Автор

Great video. You are literally carryig me during last monts of my Bachelor Degree. As thesis I' creating system for Veterinerial Clinic and highlight Spring technology

abeard
Автор

another remind: to create PasswordEncoder @Bean inside WebSecurity class may create "Relying" issue during complex boiler plates. It is better to create separete @Configuration class for encoder along with @Bean annotation. You may get this error message during complex bolier plate (classes calls each oter)
"Relying upon circular references is discouraged and they are prohibited by default"

ahmeterdonmez
Автор

After i have finished watching the whole youtube videos finaly i found the video i was supposed to watch and save my time. Greate tutorial. Thank you for your greate work..(God Bless you)

zahorhassan
Автор

Informative videos and can you please upload Hibernate and microservices videos?

blessycheriyan
Автор

one this is super confusing here.. From 1:29:20 to 1:30:46 "How can you access /dashboard after /login, without sending any auth-code or anything as such?"

there must be something you did not point out clearly in this video. Thanks for such an informative tutorial.

VvekST
Автор

Hey bro I have one doubt
I created a project which has 1 teacher and multiple students. Students will have dynamic passwords by customUserDetailsService and Teacher will have InmemoryUserDetailsService. I am getting an error. When I use both then authenticaion dosent work. But when I remove InMemoryUDS then CustomUDS works. How should I solve this. Can u suggest any tutorial for that.

rohitkapade
Автор

Nice video but you are using an older version of spring and spring boot that why some of your viewer are seeing Deprecated

smoothrelaxingsleepingandm
Автор

broo pls do latest Sprinboot3.0 and Spring security6

sekharjamallamudi
Автор

WebSecurityConfigureAdapter is been deprecated..

rcc
Автор

websecurityconfigureradapter is deprecated what should we do

kingkhan-jpzv