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

  • Reactive rest calls using spring rest template
  • getSystemService (Context)
  • getExternalFilesDir (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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