Closed iaik-jheher closed 8 months ago
This is now superseded by experimental release 2.6.0-alpha4
, which includes a new CredentialRepositoryV2
aiming to solve the same problems, but with a different architecture. I hope this supports your use case; if not, please let us know!
This is part of the
UserIdentity
work I proposed in https://github.com/Yubico/java-webauthn-server/issues/289#issuecomment-1572100280; I am breaking it down into smaller parts for ease of review.This part supersedes the current
CredentialRepository
interface with a newCredentialRepositoryV2
interface.CredentialRepositoryV2
works based onUserIdentity
objects, not usernames.The
CredentialRepository
interface extendsCredentialRepositoryV2
, and has appropriatedefault
implementations to allow existing repositories to continue to function unmodified.(This pull request does not actually use the
V2
interface or its functions anywhere, yet.)