congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JAASRealm.authenticate
Code IndexAdd Tabnine to your IDE (free)

How to use
authenticate
method
in
org.apache.catalina.realm.JAASRealm

Best Java code snippets using org.apache.catalina.realm.JAASRealm.authenticate (Showing top 20 results out of 315)

origin: org.apache.tomcat/tomcat-catalina

/**
 * @return the <code>Principal</code> associated with the given user name.
 */
@Override
protected Principal getPrincipal(String username) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, null, null, null, null,
          null, null, null, HttpServletRequest.CLIENT_CERT_AUTH));
}
origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Return the <code>Principal</code> associated with the given user name.
 */
@Override
protected Principal getPrincipal(String username) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, null, null, null, null,
          null, null, null, HttpServletRequest.CLIENT_CERT_AUTH));
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Return the <code>Principal</code> associated with the given user name.
 */
@Override
protected Principal getPrincipal(String username) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, null, null, null, null,
          null, null, null, Constants.CERT_METHOD));
}
origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Return the <code>Principal</code> associated with the given user name.
 */
@Override
protected Principal getPrincipal(String username) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, null, null, null, null,
          null, null, null, HttpServletRequest.CLIENT_CERT_AUTH));
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * @return the <code>Principal</code> associated with the given user name.
 */
@Override
protected Principal getPrincipal(String username) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, null, null, null, null,
          null, null, null, HttpServletRequest.CLIENT_CERT_AUTH));
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Return the <code>Principal</code> associated with the given user name.
 */
@Override
protected Principal getPrincipal(String username) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, null, null, null, null,
          null, null, null, Constants.CERT_METHOD));
}
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Return the <code>Principal</code> associated with the specified username
 * and credentials, if there is one; otherwise return <code>null</code>.
 *
 * @param username Username of the <code>Principal</code> to look up
 * @param credentials Password or other credentials to use in
 *  authenticating this username
 */
@Override
public Principal authenticate(String username, String credentials) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, credentials));
}
 
origin: codefollower/Tomcat-Research

/**
 * Return the <code>Principal</code> associated with the given user name.
 */
@Override
protected Principal getPrincipal(String username) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, null, null, null, null,
          null, null, null, HttpServletRequest.CLIENT_CERT_AUTH));
}
origin: codefollower/Tomcat-Research

/**
 * Return the <code>Principal</code> associated with the specified username
 * and credentials, if there is one; otherwise return <code>null</code>.
 *
 * @param username Username of the <code>Principal</code> to look up
 * @param credentials Password or other credentials to use in
 *  authenticating this username
 */
@Override
public Principal authenticate(String username, String credentials) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, credentials));
}
origin: org.apache.tomcat/tomcat-catalina

/**
 * Return the <code>Principal</code> associated with the specified username
 * and credentials, if there is one; otherwise return <code>null</code>.
 *
 * @param username Username of the <code>Principal</code> to look up
 * @param credentials Password or other credentials to use in
 *  authenticating this username
 * @return the associated principal, or <code>null</code> if there is none.
 */
@Override
public Principal authenticate(String username, String credentials) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, credentials));
}
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Return the <code>Principal</code> associated with the given user name.
 */
@Override
protected Principal getPrincipal(String username) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, null, null, null, null,
          null, null, null, Constants.CERT_METHOD));
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Return the <code>Principal</code> associated with the specified username
 * and credentials, if there is one; otherwise return <code>null</code>.
 *
 * @param username Username of the <code>Principal</code> to look up
 * @param credentials Password or other credentials to use in
 *  authenticating this username
 * @return the associated principal, or <code>null</code> if there is none.
 */
@Override
public Principal authenticate(String username, String credentials) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, credentials));
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Return the <code>Principal</code> associated with the specified username
 * and credentials, if there is one; otherwise return <code>null</code>.
 *
 * @param username Username of the <code>Principal</code> to look up
 * @param credentials Password or other credentials to use in
 *  authenticating this username
 */
@Override
public Principal authenticate(String username, String credentials) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, credentials));
}
 
origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Return the <code>Principal</code> associated with the specified username
 * and credentials, if there is one; otherwise return <code>null</code>.
 *
 * @param username Username of the <code>Principal</code> to look up
 * @param credentials Password or other credentials to use in
 *  authenticating this username
 */
@Override
public Principal authenticate(String username, String credentials) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, credentials));
}
 
origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Return the <code>Principal</code> associated with the specified username
 * and credentials, if there is one; otherwise return <code>null</code>.
 *
 * @param username Username of the <code>Principal</code> to look up
 * @param credentials Password or other credentials to use in
 *  authenticating this username
 */
@Override
public Principal authenticate(String username, String credentials) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, credentials));
}
 
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Return the <code>Principal</code> associated with the specified username
 * and credentials, if there is one; otherwise return <code>null</code>.
 *
 * @param username Username of the <code>Principal</code> to look up
 * @param credentials Password or other credentials to use in
 *  authenticating this username
 */
@Override
public Principal authenticate(String username, String credentials) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, credentials));
}
 
origin: com.ovea.tajin.server/tajin-server-tomcat7

/**
 * Return the <code>Principal</code> associated with the specified username
 * and digest, if there is one; otherwise return <code>null</code>.
 *
 * @param username      Username of the <code>Principal</code> to look up
 * @param clientDigest  Digest to use in authenticating this username
 * @param nonce         Server generated nonce
 * @param nc            Nonce count
 * @param cnonce        Client generated nonce
 * @param qop           Quality of protection applied to the message
 * @param realmName     Realm name
 * @param md5a2         Second MD5 digest used to calculate the digest
 *                          MD5(Method + ":" + uri)
 */
@Override
public Principal authenticate(String username, String clientDigest,
    String nonce, String nc, String cnonce, String qop,
    String realmName, String md5a2) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, clientDigest, nonce,
          nc, cnonce, qop, realmName, md5a2,
          Constants.DIGEST_METHOD));
}
origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Return the <code>Principal</code> associated with the specified username
 * and digest, if there is one; otherwise return <code>null</code>.
 *
 * @param username      Username of the <code>Principal</code> to look up
 * @param clientDigest  Digest to use in authenticating this username
 * @param nonce         Server generated nonce
 * @param nc            Nonce count
 * @param cnonce        Client generated nonce
 * @param qop           Quality of protection applied to the message
 * @param realmName     Realm name
 * @param md5a2         Second MD5 digest used to calculate the digest
 *                          MD5(Method + ":" + uri)
 */
@Override
public Principal authenticate(String username, String clientDigest,
    String nonce, String nc, String cnonce, String qop,
    String realmName, String md5a2) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, clientDigest, nonce,
          nc, cnonce, qop, realmName, md5a2,
          HttpServletRequest.DIGEST_AUTH));
}
origin: org.apache.tomcat/tomcat-catalina

/**
 * Return the <code>Principal</code> associated with the specified username
 * and digest, if there is one; otherwise return <code>null</code>.
 *
 * @param username      Username of the <code>Principal</code> to look up
 * @param clientDigest  Digest to use in authenticating this username
 * @param nonce         Server generated nonce
 * @param nc            Nonce count
 * @param cnonce        Client generated nonce
 * @param qop           Quality of protection applied to the message
 * @param realmName     Realm name
 * @param md5a2         Second MD5 digest used to calculate the digest
 *                          MD5(Method + ":" + uri)
 * @return the associated principal, or <code>null</code> if there is none.
 */
@Override
public Principal authenticate(String username, String clientDigest,
    String nonce, String nc, String cnonce, String qop,
    String realmName, String md5a2) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, clientDigest, nonce,
          nc, cnonce, qop, realmName, md5a2,
          HttpServletRequest.DIGEST_AUTH));
}
origin: codefollower/Tomcat-Research

/**
 * Return the <code>Principal</code> associated with the specified username
 * and digest, if there is one; otherwise return <code>null</code>.
 *
 * @param username      Username of the <code>Principal</code> to look up
 * @param clientDigest  Digest to use in authenticating this username
 * @param nonce         Server generated nonce
 * @param nc            Nonce count
 * @param cnonce        Client generated nonce
 * @param qop           Quality of protection applied to the message
 * @param realmName     Realm name
 * @param md5a2         Second MD5 digest used to calculate the digest
 *                          MD5(Method + ":" + uri)
 */
@Override
public Principal authenticate(String username, String clientDigest,
    String nonce, String nc, String cnonce, String qop,
    String realmName, String md5a2) {
  return authenticate(username,
      new JAASCallbackHandler(this, username, clientDigest, nonce,
          nc, cnonce, qop, realmName, md5a2,
          HttpServletRequest.DIGEST_AUTH));
}
org.apache.catalina.realmJAASRealmauthenticate

Javadoc

Return the Principal associated with the specified username and credentials, if there is one; otherwise return null.

Popular methods of JAASRealm

  • createPrincipal
    Identify and return a java.security.Principal instance representing the authenticated user for the s
  • getContainer
  • hasMessageDigest
  • isUseContextClassLoader
    Returns whether to use the context or default ClassLoader. True means to use the context ClassLoader
  • makeLegalForJAAS
    Ensure the given name is legal for JAAS configuration. Added for Bugzilla 30869, made protected for
  • parseClassNames
    Parses a comma-delimited list of class names, and store the class names in the provided List. Each c
  • digest
  • <init>
  • getConfig
    Load custom JAAS Configuration.
  • getAppName
    getter for the appName member variable
  • getCredentialHandler
  • setRoleClassNames
    Sets the list of comma-delimited classes that represent roles. The classes in the list must implemen
  • getCredentialHandler,
  • setRoleClassNames,
  • setUserClassNames,
  • getDebug,
  • getObjectName,
  • hasUserDataPermission,
  • log,
  • setAppName,
  • setUseContextClassLoader

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • JLabel (javax.swing)
  • JPanel (javax.swing)
  • Top 12 Jupyter Notebook extensions
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