Interface UserRepository<A extends Identity,B extends User<A>>

Type Parameters:
A - the identity type
B - the user type
All Superinterfaces:
CredentialsResolver<B>
All Known Implementing Classes:
InMemoryUserRepository, RedisUserRepository

public interface UserRepository<A extends Identity,B extends User<A>> extends CredentialsResolver<B>

A repository used to store, access and manage users.

It is used in a UserAuthenticator to resolve users during the authentication process. Since it also implements CredentialsResolver, it can also be used in the more generic PrincipalAuthenticator.

Since:
1.5
Author:
Jeremy Kuhn