Open
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
.