congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
JAASCallbackHandler.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.catalina.realm.JAASCallbackHandler
constructor

Best Java code snippets using org.apache.catalina.realm.JAASCallbackHandler.<init> (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.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: 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: 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 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: 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-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: 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: 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.realmJAASCallbackHandler<init>

Javadoc

Construct a callback handler configured with the specified values. Note that if the JAASRealm instance specifies digested passwords, the password parameter will be pre-digested here.

Popular methods of JAASCallbackHandler

    Popular in Java

    • Start an intent from android
    • getSharedPreferences (Context)
    • compareTo (BigDecimal)
    • scheduleAtFixedRate (ScheduledExecutorService)
    • ByteBuffer (java.nio)
      A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
    • MessageDigest (java.security)
      Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
    • SimpleDateFormat (java.text)
      Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
    • Executors (java.util.concurrent)
      Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
    • Annotation (javassist.bytecode.annotation)
      The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
    • Option (scala)
    • Top Sublime Text 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