Class RedisUserRepository<A extends Identity,B extends User<A>>

java.lang.Object
io.inverno.mod.security.authentication.user.RedisUserRepository<A,B>
Type Parameters:
A - the identity type
B - the user type
All Implemented Interfaces:
CredentialsResolver<B>, UserRepository<A,B>

public class RedisUserRepository<A extends Identity,B extends User<A>> extends Object implements UserRepository<A,B>

A UserRepository implementation that stores users in a Redis data store.

Users are stored as string entries serialized as JSON, the user key is of the form: keyPrefix ":USER:" username. Groups are stored as set entries, the group key is of the form: keyPrefix ":GROUP:" group.

Since:
1.5
Author:
Jeremy Kuhn