congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JDBCRealm.open
Code IndexAdd Tabnine to your IDE (free)

How to use
open
method
in
org.apache.catalina.realm.JDBCRealm

Best Java code snippets using org.apache.catalina.realm.JDBCRealm.open (Showing top 20 results out of 315)

origin: tomcat/catalina-optional

/**
 *
 * Prepare for active use of the public methods of this Component.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents it from being started
 */
public void start() throws LifecycleException {
  // Perform normal superclass initialization
  super.start();
  // Validate that we can open our connection - but let tomcat
  // startup in case the database is temporarily unavailable
  try {
    open();
  } catch (SQLException e) {
    containerLog.error(sm.getString("jdbcRealm.open"), e);
  }
}
origin: tomcat/catalina-optional

open();
origin: org.apache.tomcat/tomcat-catalina

try {
  open();
origin: org.apache.tomcat/tomcat-catalina

try {
  open();
origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Prepare for the beginning of active use of the public methods of this
 * component and implement the requirements of
 * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void startInternal() throws LifecycleException {
  // Validate that we can open our connection - but let tomcat
  // startup in case the database is temporarily unavailable
  try {
    open();
  } catch (SQLException e) {
    containerLog.error(sm.getString("jdbcRealm.open"), e);
  }
  super.startInternal();
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Prepare for the beginning of active use of the public methods of this
 * component and implement the requirements of
 * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void startInternal() throws LifecycleException {
  // Validate that we can open our connection - but let tomcat
  // startup in case the database is temporarily unavailable
  try {
    open();
  } catch (SQLException e) {
    containerLog.error(sm.getString("jdbcRealm.open"), e);
  }
  super.startInternal();
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

try {
  open();
origin: codefollower/Tomcat-Research

/**
 * Prepare for the beginning of active use of the public methods of this
 * component and implement the requirements of
 * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void startInternal() throws LifecycleException {
  // Validate that we can open our connection - but let tomcat
  // startup in case the database is temporarily unavailable
  try {
    open();
  } catch (SQLException e) {
    containerLog.error(sm.getString("jdbcRealm.open"), e);
  }
  super.startInternal();
}
origin: org.apache.tomcat/tomcat-catalina

/**
 * Prepare for the beginning of active use of the public methods of this
 * component and implement the requirements of
 * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void startInternal() throws LifecycleException {
  // Validate that we can open our connection - but let tomcat
  // startup in case the database is temporarily unavailable
  try {
    open();
  } catch (SQLException e) {
    containerLog.error(sm.getString("jdbcRealm.open"), e);
  }
  super.startInternal();
}
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Prepare for the beginning of active use of the public methods of this
 * component and implement the requirements of
 * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void startInternal() throws LifecycleException {
  // Validate that we can open our connection - but let tomcat
  // startup in case the database is temporarily unavailable
  try {
    open();
  } catch (SQLException e) {
    containerLog.error(sm.getString("jdbcRealm.open"), e);
  }
  super.startInternal();
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

try {
  open();
origin: org.apache.catalina/com.springsource.org.apache.catalina

open();
origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Prepare for the beginning of active use of the public methods of this
 * component and implement the requirements of
 * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void startInternal() throws LifecycleException {
  // Validate that we can open our connection - but let tomcat
  // startup in case the database is temporarily unavailable
  try {
    open();
  } catch (SQLException e) {
    containerLog.error(sm.getString("jdbcRealm.open"), e);
  }
  super.startInternal();
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

open();
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Prepare for the beginning of active use of the public methods of this
 * component and implement the requirements of
 * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void startInternal() throws LifecycleException {
  // Validate that we can open our connection - but let tomcat
  // startup in case the database is temporarily unavailable
  try {
    open();
  } catch (SQLException e) {
    containerLog.error(sm.getString("jdbcRealm.open"), e);
  }
  super.startInternal();
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Prepare for the beginning of active use of the public methods of this
 * component and implement the requirements of
 * {@link org.apache.catalina.util.LifecycleBase#startInternal()}.
 *
 * @exception LifecycleException if this component detects a fatal error
 *  that prevents this component from being used
 */
@Override
protected void startInternal() throws LifecycleException {
  // Validate that we can open our connection - but let tomcat
  // startup in case the database is temporarily unavailable
  try {
    open();
  } catch (SQLException e) {
    containerLog.error(sm.getString("jdbcRealm.open"), e);
  }
  super.startInternal();
}
origin: org.apache.catalina/com.springsource.org.apache.catalina

open();
origin: codefollower/Tomcat-Research

open();
origin: org.apache.geronimo.ext.tomcat/catalina

open();
origin: codefollower/Tomcat-Research

try {
  open();
org.apache.catalina.realmJDBCRealmopen

Javadoc

Open (if necessary) and return a database connection for use by this Realm.

Popular methods of JDBCRealm

  • <init>
  • authenticate
    Attempt to authenticate the user with the provided credentials.
  • close
    Close the specified database connection.
  • credentials
    Return a PreparedStatement configured to perform the SELECT required to retrieve user credentials fo
  • getPassword
    Get the password for the specified user.
  • getRoles
    Return the roles associated with the given user name.
  • roles
    Return a PreparedStatement configured to perform the SELECT required to retrieve user roles for the
  • setConnectionName
    Set the username to use to connect to the database.
  • setConnectionPassword
    Set the password to use to connect to the database.
  • setConnectionURL
    Set the URL to use to connect to the database.
  • setDriverName
    Set the JDBC driver that will be used.
  • getObjectName
  • setDriverName,
  • getObjectName,
  • digest,
  • hasMessageDigest,
  • isRoleStoreDefined,
  • getCredentialHandler,
  • compareCredentials

Popular in Java

  • Reading from database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • getSupportFragmentManager (FragmentActivity)
  • getExternalFilesDir (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now