Class JDBCLoginService

All Implemented Interfaces:
LoginService, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle

public class JDBCLoginService extends AbstractLoginService
JDBC as a source of user authentication and authorization information. Uses one database connection that is lazily initialized. Reconnect on failures.
  • Field Details

    • _config

      protected String _config
    • _jdbcDriver

      protected String _jdbcDriver
    • _url

      protected String _url
    • _userName

      protected String _userName
    • _password

      protected String _password
    • _userTableKey

      protected String _userTableKey
    • _userTablePasswordField

      protected String _userTablePasswordField
    • _roleTableRoleField

      protected String _roleTableRoleField
    • _userSql

      protected String _userSql
    • _roleSql

      protected String _roleSql
    • _con

      protected Connection _con
  • Constructor Details

    • JDBCLoginService

      public JDBCLoginService()
    • JDBCLoginService

      public JDBCLoginService(String name)
    • JDBCLoginService

      public JDBCLoginService(String name, String config)
    • JDBCLoginService

      public JDBCLoginService(String name, IdentityService identityService, String config)
  • Method Details