Class AuthInfo

java.lang.Object
eu.webtoolkit.jwt.auth.jpa.AuthInfo

public class AuthInfo extends Object
A default JPA implementation for authentication data This class implements the requirements for use as a data type in UserDatabase. To use these classes, you need to map them to a database using JPA.

The auth1 feature example contains an example mapping file (examples/feature/auth1/src/META-INF/orm.xml), and a Postgres schema file (examples/feature/auth1/src/META-INF/schema.postgres.sql).

To add extra fields to a user's profile you need to extend AbstractUser.
See Also: