Class JdbcDbUserDao

java.lang.Object
io.inversion.jdbc.JdbcDbUserDao

public class JdbcDbUserDao extends Object
Looks up a User from the configured JdbcDb supporting user/group/role permissioning.

Usage requires a password encryption "salt" value be configured either explicitly or via a $name.salt environment var or system prop.

In this model, Users, Groups, and Roles can all be assigned Permissions. Users and Groups can both be assigned Roles and Users can be assigned to Groups. This means users can be assigned permissions through any one of the following relationship paths.

  1. user-to-permission
  2. user-to-group-to-permission
  3. user-to-role-to-permission
  4. user-to-group-to-role-to-permission
See users-h2.ddl for full underlying schema
  • Constructor Details

    • JdbcDbUserDao

      public JdbcDbUserDao()