congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Top PhpStorm plugins
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