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

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

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

origin: tomcat/catalina-optional

stmt = credentials(dbConnection, username);
rs = stmt.executeQuery();
origin: org.apache.tomcat/tomcat-catalina

PreparedStatement stmt = credentials(dbConnection, username);
try (ResultSet rs = stmt.executeQuery()) {
  if (rs.next()) {
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

PreparedStatement stmt = credentials(dbConnection, username);
try (ResultSet rs = stmt.executeQuery()) {
  if (rs.next()) {
origin: org.apache.catalina/com.springsource.org.apache.catalina

stmt = credentials(dbConnection, username);
rs = stmt.executeQuery();
origin: com.ovea.tajin.server/tajin-server-jetty9

stmt = credentials(dbConnection, username);
rs = stmt.executeQuery();
origin: com.ovea.tajin.servers/tajin-server-jetty9

stmt = credentials(dbConnection, username);
rs = stmt.executeQuery();
origin: org.apache.geronimo.ext.tomcat/catalina

stmt = credentials(dbConnection, username);
rs = stmt.executeQuery();
origin: com.ovea.tajin.server/tajin-server-tomcat7

stmt = credentials(dbConnection, username);
rs = stmt.executeQuery();
origin: codefollower/Tomcat-Research

stmt = credentials(dbConnection, username);
rs = stmt.executeQuery();
if (rs.next()) {
org.apache.catalina.realmJDBCRealmcredentials

Javadoc

Return a PreparedStatement configured to perform the SELECT required to retrieve user credentials for the specified username.

Popular methods of JDBCRealm

  • <init>
  • authenticate
    Attempt to authenticate the user with the provided credentials.
  • close
    Close the specified database connection.
  • getPassword
    Get the password for the specified user.
  • getRoles
    Return the roles associated with the given user name.
  • open
    Open (if necessary) and return a database connection for use by this Realm.
  • 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

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • setContentView (Activity)
  • putExtra (Intent)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • JTable (javax.swing)
  • 14 Best Plugins for Eclipse
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