Spring Security Master Class - Configure HttpSecurity | User Authentication & Authorization #4
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 https://www.seleniumexpress.com LINKS AND FREE LEARNING RESOURCES ======== Watch my new mock interview series for java developers https://youtu.be/yX2w-Sof95s Watch my new Hello spring boot series https://youtu.be/F_rGkDeihBg?si=AvqLgRVvytkhy8lq Watch Spring boot Hot topics https://youtu.be/CUQWZHjuq-w Java Interview / Question and Answer series https://youtu.be/Y1uGGTrBYKw Explain spring Bean Lifecycle https://youtu.be/hUYGGqoXEPc spring core https://www.youtube.com/watch?v=r2Q0Jzl2qMQ&list=PL3NrzZBjk6m-nYX072dSaGfyCJ59Q5TEi spring mvc https://www.youtube.com/watch?v=zCHrZdJODg4&list=PL3NrzZBjk6m-OSeL3DRMD_ISa0u-9c1l1 spring mvc intermediate https://www.youtube.com/watch?v=40YaLHbrwrY&list=PL3NrzZBjk6m_2jw8sC0BkEwSPFHxgQDWr Spring JDBC https://www.youtube.com/watch?v=5j_vh1b9dV8&list=PL3NrzZBjk6m-rYTKze-5Y5RvU8eykal4j spring live project https://www.youtube.com/watch?v=m_b_FwDjAXM&list=PL3NrzZBjk6m-9CVPueDLLermojwtfuW_f SPRING SECURITY COURSE[NEW] https://youtu.be/NMNLozLGT1s For more courses visit https://www.seleniumexpress.com Any time you are getting stuck with issues, Feel free to ask for support. You can send mail to [email protected] you can ping me on my Facebook page https://www.facebook.com/seleniumexpress Make sure to join my private Facebook page (Ask me here) “SeleniumExpress - Support" https://www.facebook.com/groups/187000222361579/ you can ask for support in my website forum https://www.seleniumexpress.com Subscribe to my youtube channel https://www.youtube.com/channel/UCpUYkSDJpHug-vfC5S-NXRA?sub_confirmation=1 Follow me on Insta https://www.instagram.com/selenium_express/
Download
0 formatsNo download links available.