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

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • 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