Class JDBCLoginService

java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.security.AbstractLoginService
org.eclipse.jetty.security.JDBCLoginService
All Implemented Interfaces:
LoginService, org.eclipse.jetty.util.component.Container, org.eclipse.jetty.util.component.Destroyable, org.eclipse.jetty.util.component.Dumpable, org.eclipse.jetty.util.component.Dumpable.DumpableContainer, org.eclipse.jetty.util.component.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