Spring Security Master Class - Configure HttpSecurity | User Authentication & Authorization #4
HTML-код
- Опубликовано: 8 июн 2024
- 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
www.seleniumexpress.com
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
• Java interview questio...
Watch my new Hello spring boot series
• Spring Vs Spring Boot ...
Watch Spring boot Hot topics
• @Reposicotry Vs @Servi...
Java Interview / Question and Answer series
• Java collections inter...
Explain spring Bean Lifecycle
• REAL-TIME: Spring Bean...
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 ...
SPRING SECURITY COURSE[NEW]
• Spring Security Course...
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 youtube channel
/ @seleniumexpress
Follow me on Insta
/ selenium_express
Sir please continue with this series..
Waiting for next episode.
After watching so many videos of hibernate on RUclips, I left the hope of becoming Java developer then RUclips suggested me your video and with one last time I gain courage and watched completely. Trust me you taught in the most perfect manner
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 ...
god bless you bhai, for helping us out like this. Will pray your channels reaches millions
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 ❤❤❤
Love you bhai.. I will try adding contents based on your suggestions soon.
Eagerly waiting for next video ...
Thank you, Abhilash sir for this explanation, please upload the rest of the series
Sir, Can't thank you enough. Thank you so so much ❤
Thank you so much Sir. Your video helped me a lot❤
Absolute masterpiece 🎉
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 ❤❤
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.
Very informative abhilash bro.....keep doing like this ❤.we are learning a lot from your channel than our colleges
eagerly waiting for next episodes !!!!!!!!!!!!!!!!!!!!!!!!
Thanks for uploading this Videos Early waiting for this series please do video on OAuth And JWT Also
thanks a lot PROFESSEUR
Hi Avinash, waiting for next video in this series..
Sir waiting for next episode. Please post interview videos
Hello Abhilash, your microservice playlist is very useful, Can you please upload the remaining videos? Regarding the fault tolerance and circuit breaker.
sir when u are launching fifth video??
waiting .please release the fifth video
Hi Abhilash, hope you upload the next episode soon : )
Super, Abhilash. Please can you make video about multi-threadding and full video about git
Thanks abhi❤
My pleasure !
Hi Abhilash,
Can you please upload further videos on spring security?
You said in the community post of RUclips that you will post videos on Monday, Wednesday and Friday. Please upload other videos also.
Hi Abhilash,
Can you please upload further videos on spring security?
make a avideo for JWT auth
Hey would you care to make a video on explainng how a person just completed spring boot can contribute to open source. I am personally looking for this and donno how to start to use my skill in real world.
I really appreciate your efforts that you put into this vides :)
Please do a tutorial on Mybatis in spring boot
Excellent content. Can you share the source code to this point? I want to follow the videos from here with the same code and version you have. Thanks.
Hello Abhilash, Could you please upload the next video? I'm looking out to work on form register and login against Database
Hi Abhilash
please make one video on custom annotation
how to create it
when we should go for custom annotation with good practical example
we are autowiring HttpSecurity , where are we creating the bean for it ?
Hi Abhilash,
Can u pls make video on LDAP using spring boot
Hi bro. Your videos are very helpful to me..could you post springboot masterclass from beginner to advanced level please l?
Hi Abhilash, I have an error. When i used HttpSecurity in springconfig file and autowired it. I got an error in the console. It says the dependency of some beans form a cycle. Plz help
Hi Abhilash, are you posting any new videos .. it's been 2months could you please post more videos .. eagerly waiting for the new post
Day-2 of requesting abhilash sir to upload the next video on spring security.
Hi Deepak ! I will be start editing from today. Be assured, it is coming soon.
@@SeleniumExpress Thank you so much sir🙇
Hi abhilash, can you make a video of oauth2.0
pls make video on oops in java in details
Where can continue series?
waiting for 5th video
Anyone else thinks that he looks like Dinesh from Silicon valley web series
Hi bro, Please make course for Spring data JPA
There is already a playlist
@@riyabhatia631 I need to understand JPA annotations
@@sivanesh6623 there's a whole video series by selenium express in jpa hibernate you can check
@@riyabhatia631 sure.Thank you soo much
@@riyabhatia631 Have you integrated Agora chat in web application? for backend spring boot and for front end react
please upload videos
Hi abhilash, I have been tried to connect to join spring boot like as live sessions but you didn't respond.😊. Pls let me know the process how to connect with you....
Hi Murali ! write an email to info@seleniumexpress.com and cc me (abhilash@seleniumexpress.com) . If you already posted an course enquiry, no worries. Will follow up soon.
@@SeleniumExpressgetting address not found
hii bro i need help... in spring mvc section vedio 2 your have given spring framework 5.0.5 release jar file download link ... but the link is not openning it asking username and password... where can i get those username and password
...please tell me
Download jar from mvn repository directly
abhilash can you please teach us whole spring security course free on youtube if it is possible .
We have a most important question for you!
Why you always left each and every playlist incomplete. What is the sense of teaching half knowledge respected sir
Hi Abhilash,
Can you please upload further videos on spring security?
I don't think he will upload more videos on spring security. He just wanted to do the promotion of spring security courses. Now if you want to learn then you have to take a paid course from his website
@@debjitghosh3538 Can you please do one more for spring security with jdbc, oauth, saml?