alovoa
alovoa copied to clipboard
Many Deprecates in Class SecurityConfig
Describe the bug
When updating to Spring Security 6.1 (Spring Boot 3.1.2) there are many warnings regarding deprecated usage of methods.
To Reproduce
Update pom.xml with:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.2</version>
<relativePath />
</parent>
In SecurityConfig you get many Deprecated warnings.
Expected behavior
Deprecated methods/classes will be removed in future versions of Spring Security, which will break this application.
Recommendations
See #302 for a possible solution (work in progress, there is still one deprecated).