Skip to content

authorities in the User between Spring Security Core version 6.1.0 and 6.1.2 #13734

Closed
@CyrilStar

Description

@CyrilStar

my code
i defined an in-memory User object.
image
see the breakpoint result
image
image

source code differ
Spring Security Core version 6.1.0 used "addAll();" but Spring Security Core version 6.1.2 is "new ArrayList<>(authorities);"
image
image
I want to know what the official team's intention was in making these modifications.

Metadata

Metadata

Assignees

Labels

status: invalidAn issue that we don't feel is validtype: bugA general bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions