-
Notifications
You must be signed in to change notification settings - Fork 181
Spring Lemon JPA Guide
Sanjay Patel edited this page Jan 8, 2019
·
11 revisions
spring-lemon-jpa
is one of the leafs in the spring-lemon set of libraries, which your monoliths or authentication services can use. It adds authentication functionalities to spring-lemon-commons-jpa. It comes with a lot of things, which are discussed below.
AbstractUser
comes with the essential user fields, such as email and password. Your User entity should inherit this. To know how, refer to the getting started giude.
The roles
field of AbstractUser holds all the user roles. It's a set of String, and so you're free to add any custom roles you may want to use in your application.