-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Open
Labels
in: coreAn issue in spring-security-coreAn issue in spring-security-coretype: enhancementA general enhancementA general enhancement
Description
UserAuthorities
is a new core interface similar to UserDetails
. The difference is that UserAuthorities
does not include password/credentials information. This is helpful for scenarios where a password is not required. Right now UserDetails
is leveraged for x509 and CAS which don't require passwords, but passkeys and one time tokens is yet another place that it is strange to have UserDetails
linked to the them.
Ideally, UserDetails
should extend UserAuthorities
and UserDetailsService
should extend UserAuthoritiesRepository
.
Metadata
Metadata
Assignees
Labels
in: coreAn issue in spring-security-coreAn issue in spring-security-coretype: enhancementA general enhancementA general enhancement