alovoa icon indicating copy to clipboard operation
alovoa copied to clipboard

Many Deprecates in Class SecurityConfig

Open ip6li opened this issue 1 year ago • 0 comments

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).

ip6li avatar Aug 09 '23 08:08 ip6li