Skip to content

APIs should Use Supplier<? extends @Nullable Authentication> #17814

@rwinch

Description

@rwinch

Using Supplier<@Nullable Authentication> prevents Supplier<Authentication> from being passed in. Instead we should use Supplier<? extends @Nullable Authentication> which allows both a null and non-null Authentication

Metadata

Metadata

Assignees

Labels

in: coreAn issue in spring-security-coretype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions