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

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

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

origin: org.apache.tomcat/tomcat-catalina

/**
 * Get the principal associated with the specified user.
 * @param username The user name
 * @return the Principal associated with the given user name.
 */
@Override
protected synchronized Principal getPrincipal(String username) {
  return new GenericPrincipal(username,
                 getPassword(username),
                 getRoles(username));
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Return the Principal associated with the given user name.
 */
@Override
protected synchronized Principal getPrincipal(String username) {
  return (new GenericPrincipal(username,
                 getPassword(username),
                 getRoles(username)));
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Return the Principal associated with the given user name.
 */
@Override
protected synchronized Principal getPrincipal(String username) {
  return (new GenericPrincipal(username,
                 getPassword(username),
                 getRoles(username)));
}
origin: codefollower/Tomcat-Research

/**
 * Return the Principal associated with the given user name.
 */
@Override
protected synchronized Principal getPrincipal(String username) {
  return (new GenericPrincipal(username,
                 getPassword(username),
                 getRoles(username)));
}
origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Return the Principal associated with the given user name.
 */
@Override
protected synchronized Principal getPrincipal(String username) {
  return (new GenericPrincipal(username,
                 getPassword(username),
                 getRoles(username)));
}
origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Return the Principal associated with the given user name.
 */
@Override
protected synchronized Principal getPrincipal(String username) {
  return (new GenericPrincipal(username,
                 getPassword(username),
                 getRoles(username)));
}
origin: tomcat/catalina-optional

/**
 * Return the Principal associated with the given user name.
 */
protected Principal getPrincipal(String username) {
  return (new GenericPrincipal(this,
                 username,
                 getPassword(username),
                 getRoles(username)));
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Get the principal associated with the specified user.
 * @param username The user name
 * @return the Principal associated with the given user name.
 */
@Override
protected synchronized Principal getPrincipal(String username) {
  return new GenericPrincipal(username,
                 getPassword(username),
                 getRoles(username));
}
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Return the Principal associated with the given user name.
 */
@Override
protected synchronized Principal getPrincipal(String username) {
  return (new GenericPrincipal(username,
                 getPassword(username),
                 getRoles(username)));
}
origin: tomcat/catalina-optional

ArrayList roles = getRoles(username);
origin: org.apache.geronimo.ext.tomcat/catalina

ArrayList<String> roles = getRoles(username);
origin: org.apache.catalina/com.springsource.org.apache.catalina

ArrayList<String> roles = getRoles(username);
origin: com.ovea.tajin.servers/tajin-server-jetty9

ArrayList<String> roles = getRoles(username);
origin: com.ovea.tajin.server/tajin-server-jetty9

ArrayList<String> roles = getRoles(username);
origin: com.ovea.tajin.server/tajin-server-tomcat7

ArrayList<String> roles = getRoles(username);
origin: codefollower/Tomcat-Research

ArrayList<String> roles = getRoles(username);
origin: org.apache.tomcat/tomcat-catalina

ArrayList<String> roles = getRoles(username);
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

ArrayList<String> roles = getRoles(username);
org.apache.catalina.realmJDBCRealmgetRoles

Javadoc

Return the roles associated with the gven user name.

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.
  • 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

  • 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
  • Top 15 Vim 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