Spring Security Master Class - Configure HttpSecurity | User Authentication & Authorization #4

preview_player
Показать описание
In this video we will learn to configure the HttpSecurity without using the WebSecurityAdapter (spring security 6 latest way). By configuring the HttpSecurity we are going to take control and customize the incoming http web based requests with respect to our need.

We may permitAll() the request or denyAll() the requests or authenticate() a specific request. We can also choose or activate the formLogin() filter for a web based request to populate the login form or we can take help of the httpBasic() to activate the BasicAuthenticationFilter to authenticate the rest based request.

Form Spring security 6.1 a lot of methods has been deprecated and marked for removal. So we should prepare for spring security 7 and code our application by using all the latest spring security configuration.

So let's learn to configure the httpSecurity in our web based security application.

timestamp
-----------------

00:00:00 - HttpSecurity Default Configuration
00:15:13 - Customize HttpSecurity
00:23:10 - authoizeHttpRequest - old way
00:28:26 - formLogin()
00:31:28 - httpBasics()
00:36:38 - authenticated() vs permitAll() vs denyAll()
00:51:45 - Upgrading to Latest spring security
01:01:22 - authoizeHttpRequest : Lambda DSL way
01:03:58 - Spring Security Customizer
01:09:22 - Spring Security QNA
01:14:33 - Role based authentication and authorization

#springsecurity #springboot #springframework

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
Рекомендации по теме
Комментарии
Автор

Sir please continue with this series..
Waiting for next episode.

DeepakVerma-ercs
Автор

I insanely love you Avilash so much when I was going to interview i binge watched your videos now I am in a very good company working in the banking in the Iran and am constantly applying for the interviews to hone my skills and I always get the offer thank you for doing this for free I hope you get returns in thousand folds and just a suggestion the new cloud native and microservice architecture also needs some deep videos that you can record thank you Avilash I really love you ❤❤❤

mohammadmohammadian
Автор

After watching so many videos of hibernate on YouTube, I left the hope of becoming Java developer then YouTube suggested me your video and with one last time I gain courage and watched completely. Trust me you taught in the most perfect manner

FM-rnti
Автор

Your videos are amazing and I'm really grateful to you...eagerly waiting for the next video..Can't thank u enough..I had no confidence in spring security, but after watching your spring security videos, I'm totally geared up...Thank u ...

snehas-ixtl
Автор

Thank you, Abhilash sir for this explanation, please upload the rest of the series

safa-Rebai
Автор

god bless you bhai, for helping us out like this. Will pray your channels reaches millions

sahilkaul
Автор

Abhilash, I am extremely obsessed with all your Java series and hoping to get help out of them in my job switch. The way you make everyone understand is just the next level and if we keep the length of video apart - the content you cover from the scratch to advanced by coding every single line "IS NOT FOUND ANYWHERE (not even institutes/ colleges/ uni)".
God must take some extra time to bless you in various manners for all your deeds.
** Shall we expect upcoming episodes on Spring Security very soon ? **

Also a request - if you can create a demo project of Spring Boot Microservices (just 2 services will be enough) with their communication (Open Feign), including spring cloud concepts and with Spring Security (Authentication and Authorization), it would be really a blessing to guys like me who are looking to turn the stones for self and get a break back in Java world.

It's a very humble request to you Abhilash, but apart from that, thanks a lot and loved your way and content ❤❤

jayjoshi
Автор

Hi sir. you are teaching skills are amazing. Thanks a lot.
Please upload the next video. I am trying to (paid)enroll you are courses(security) in you are website, those are not there yet even.
please give us some info regarding next video or upload it in you are website. Thank you sir.

maheshdondapati
Автор

Very informative abhilash doing like this ❤.we are learning a lot from your channel than our colleges

lokeshwaraachari
Автор

Thanks for uploading this Videos Early waiting for this series please do video on OAuth And JWT Also

gunjiashok
Автор

Hello Abhilash, your microservice playlist is very useful, Can you please upload the remaining videos? Regarding the fault tolerance and circuit breaker.

khushalijiyani
Автор

sir when u are launching fifth video??
waiting .please release the fifth video

GauravSharma-blnu
Автор

Sir, Can't thank you enough. Thank you so so much ❤

investingchannel
Автор

Hi Avinash, waiting for next video in this series..

kamleshprajapati
Автор

Thank you so much Sir. Your video helped me a lot❤

investingchannel
Автор

Super, Abhilash. Please can you make video about multi-threadding and full video about git

aibardulatov
Автор

Sir waiting for next episode. Please post interview videos

sunnywaypoori
Автор

Hi Abhilash, hope you upload the next episode soon : )

vamsicherukuru
Автор

Hello Abhilash, Could you please upload the next video? I'm looking out to work on form register and login against Database

vamsicherukuru
Автор

Hi Abhilash,
Can you please upload further videos on spring security?
You said in the community post of YouTube that you will post videos on Monday, Wednesday and Friday. Please upload other videos also.

debjitghosh