Skip to content

Spring Security 6.0 Migration Guide Should Mention @Configuration Meta-Annotation Removal From Configuration Annotations #12486

Closed
@adase11

Description

@adase11

Mentioned in spring-projects/spring-boot#33645 and opening here.

@EnableMethodSecurity (and @EnableWebSecurity as well) dropped the meta annotation @Configuration between version 5.8 & 6.0.x. Projects that were relying on that annotation to register the class for component scanning will need to add the @Configuration annotation themselves.

I think this would be good to mention in the 6.0 Migration Guide

Metadata

Metadata

Assignees

Labels

in: docsAn issue in Documentation or samplestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions