Spring Security 6.1: Fix Deprecated Methods

Опубликовано: 23 Сентябрь 2023
на канале: Code Java
9k
140

Spring Security 6 comes with some primary changes to the APIs which developers have been familiar with for years, notably the ways used to configure web security aspects.
In this video, I'd like to share with you guys how to fix deprecated warnings for some methods in Spring-based applications that use Spring Security. The deprecated methods are: authorizeHttpRequests(), formLogin(), rememberMe(), logout()... from the type HttpSecurity.