Skip to content

Provide default implementations in UserDetails #14275

Closed
@jzheaux

Description

@jzheaux

The methods isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, and isEnabled are used less often.

It would be nice if they were already implemented, returning true for each one.

Note that this would align the interface with how UserBuilder treats these properties.

Metadata

Metadata

Assignees

Labels

in: coreAn issue in spring-security-coretype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions