-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce UserAuthorities
#15406
Comments
There are a few places where
However, it is not clear yet what will be the impacts of switching from Another alternative is to make it very explicit that the With that said, I'll close #15432 for now because we need more time to figure that out. |
UserAuthorities
is a new core interface similar toUserDetails
. The difference is thatUserAuthorities
does not include password/credentials information. This is helpful for scenarios where a password is not required. Right nowUserDetails
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 haveUserDetails
linked to the them.Ideally,
UserDetails
should extendUserAuthorities
andUserDetailsService
should extendUserAuthoritiesRepository
.The text was updated successfully, but these errors were encountered: