Tabnine Logo
JDBCRealm.roles
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: tomcat/catalina-optional

stmt = roles(dbConnection, username);
rs = stmt.executeQuery();
while (rs.next()) {
origin: org.apache.catalina/com.springsource.org.apache.catalina

stmt = roles(dbConnection, username);
rs = stmt.executeQuery();
while (rs.next()) {
origin: org.apache.tomcat/tomcat-catalina

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

PreparedStatement stmt = roles(dbConnection, username);
try (ResultSet rs = stmt.executeQuery()) {
origin: com.ovea.tajin.servers/tajin-server-jetty9

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

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

stmt = roles(dbConnection, username);
rs = stmt.executeQuery();
while (rs.next()) {
origin: codefollower/Tomcat-Research

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

stmt = roles(dbConnection, username);
rs = stmt.executeQuery();
while (rs.next()) {
org.apache.catalina.realmJDBCRealmroles

Javadoc

Return a PreparedStatement configured to perform the SELECT required to retrieve user roles 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.
  • 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.
  • open
    Open (if necessary) and return a database connection for use by this Realm.
  • 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
  • notifyDataSetChanged (ArrayAdapter)
  • startActivity (Activity)
  • setContentView (Activity)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • String (java.lang)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 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