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

How to use
CombinedRealm
in
org.apache.catalina.realm

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

origin: org.apache.tomcat/tomcat-catalina

super.startInternal();
origin: org.apache.tomee/tomee-catalina

@Override
public Principal authenticate(final String username, final String clientDigest,
               final String nonce, final String nc, final String cnonce, final String qop,
               final String realmName, final String md5a2) {
  return logInTomEE(super.authenticate(username, clientDigest, nonce, nc, cnonce, qop, realmName, md5a2));
}
origin: codefollower/Tomcat-Research

/**
 * Store the specified Realm properties and child (Realm)
 *
 * @param aWriter
 *            PrintWriter to which we are storing
 * @param indent
 *            Number of spaces to indent this element
 * @param aRealm
 *            Realm whose properties are being stored
 *
 * @exception Exception
 *                if an exception occurs while storing
 */
@Override
public void storeChildren(PrintWriter aWriter, int indent, Object aRealm,
    StoreDescription parentDesc) throws Exception {
  if (aRealm instanceof CombinedRealm) {
    CombinedRealm combinedRealm = (CombinedRealm) aRealm;
    // Store nested <Realm> element
    Realm[] realms = combinedRealm.getNestedRealms();
    storeElementArray(aWriter, indent, realms);
  }
}
origin: codefollower/Tomcat-Research

/**
 * Set the Container with which this Realm has been associated.
 *
 * @param container The associated Container
 */
@Override
public void setContainer(Container container) {
  for(Realm realm : realms) {
    // Set the realmPath for JMX naming
    if (realm instanceof RealmBase) {
      ((RealmBase) realm).setRealmPath(
          getRealmPath() + "/realm" + realms.indexOf(realm));
    }
    // Set the container for sub-realms. Mainly so logging works.
    realm.setContainer(container);
  }
  super.setContainer(container);
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Set the Container with which this Realm has been associated.
 *
 * @param container The associated Container
 */
@Override
public void setContainer(Container container) {
  for(Realm realm : realms) {
    // Set the realmPath for JMX naming
    if (realm instanceof RealmBase) {
      ((RealmBase) realm).setRealmPath(
          getRealmPath() + "/realm" + realms.indexOf(realm));
    }
    // Set the container for sub-realms. Mainly so logging works.
    realm.setContainer(container);
  }
  super.setContainer(container);
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

/**
 * Return the Principal associated with the specified username and
 * credentials, if there is one; otherwise return <code>null</code>.
 *
 * @param username Username of the Principal to look up
 * @param credentials Password or other credentials to use in
 *  authenticating this username
 */
@Override
public Principal authenticate(String username, String credentials) {
  Principal authenticatedUser = super.authenticate(username, credentials);
  return filterLockedAccounts(username, authenticatedUser);
}
origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core

super.startInternal();
origin: org.apache.tomcat/tomcat-catalina

/**
 * Set the Container with which this Realm has been associated.
 *
 * @param container The associated Container
 */
@Override
public void setContainer(Container container) {
  for(Realm realm : realms) {
    // Set the realmPath for JMX naming
    if (realm instanceof RealmBase) {
      ((RealmBase) realm).setRealmPath(
          getRealmPath() + "/realm" + realms.indexOf(realm));
    }
    // Set the container for sub-realms. Mainly so logging works.
    realm.setContainer(container);
  }
  super.setContainer(container);
}
origin: org.apache.tomee/tomee-catalina

@Override
public Principal authenticate(final X509Certificate[] certs) {
  return logInTomEE(super.authenticate(certs));
}
origin: com.ovea.tajin.server/tajin-server-tomcat7

super.startInternal();
origin: com.ovea.tajin.server/tajin-server-jetty9

/**
 * Set the Container with which this Realm has been associated.
 *
 * @param container The associated Container
 */
@Override
public void setContainer(Container container) {
  for(Realm realm : realms) {
    // Set the realmPath for JMX naming
    if (realm instanceof RealmBase) {
      ((RealmBase) realm).setRealmPath(
          getRealmPath() + "/realm" + realms.indexOf(realm));
    }
    
    // Set the container for sub-realms. Mainly so logging works.
    realm.setContainer(container);
  }
  super.setContainer(container);
}
origin: org.apache.tomcat/tomcat-catalina

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

super.startInternal();
origin: com.ovea.tajin.servers/tajin-server-jetty9

/**
 * Set the Container with which this Realm has been associated.
 *
 * @param container The associated Container
 */
@Override
public void setContainer(Container container) {
  for(Realm realm : realms) {
    // Set the realmPath for JMX naming
    if (realm instanceof RealmBase) {
      ((RealmBase) realm).setRealmPath(
          getRealmPath() + "/realm" + realms.indexOf(realm));
    }
    
    // Set the container for sub-realms. Mainly so logging works.
    realm.setContainer(container);
  }
  super.setContainer(container);
}
origin: org.apache.tomee/tomee-catalina

@Override
public Principal authenticate(final String username, final String password) {
  return logInTomEE(super.authenticate(username, password));
}
origin: com.ovea.tajin.server/tajin-server-jetty9

super.startInternal();
origin: org.apache.geronimo.ext.tomcat/catalina

/**
 * Set the Container with which this Realm has been associated.
 *
 * @param container The associated Container
 */
@Override
public void setContainer(Container container) {
  for(Realm realm : realms) {
    // Set the realmPath for JMX naming
    if (realm instanceof RealmBase) {
      ((RealmBase) realm).setRealmPath(
          getRealmPath() + "/realm" + realms.indexOf(realm));
    }
    
    // Set the container for sub-realms. Mainly so logging works.
    realm.setContainer(container);
  }
  super.setContainer(container);
}
origin: org.apache.tomee/tomee-catalina

@Override
public Principal authenticate(final GSSContext gssContext, final boolean storeCreds) {
  return logInTomEE(super.authenticate(gssContext, storeCreds));
}
origin: codefollower/Tomcat-Research

super.startInternal();
origin: org.apache.catalina/com.springsource.org.apache.catalina

/**
 * Set the Container with which this Realm has been associated.
 *
 * @param container The associated Container
 */
@Override
public void setContainer(Container container) {
  for(Realm realm : realms) {
    // Set the realmPath for JMX naming
    if (realm instanceof RealmBase) {
      ((RealmBase) realm).setRealmPath(
          getRealmPath() + "/realm" + realms.indexOf(realm));
    }
    
    // Set the container for sub-realms. Mainly so logging works.
    realm.setContainer(container);
  }
  super.setContainer(container);
}
org.apache.catalina.realmCombinedRealm

Javadoc

Realm implementation that contains one or more realms. Authentication is attempted for each realm in the order they were configured. If any realm authenticates the user then the authentication succeeds. When combining realms usernames should be unique across all combined realms.

Most used methods

  • startInternal
    Prepare for the beginning of active use of the public methods of this component and implement the re
  • authenticate
    Return the Principal associated with the specified chain of X509 client certificates. If there is no
  • getRealmPath
  • getNestedRealms
  • stopInternal
    Gracefully terminate the active use of the public methods of this component and implement the requir

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • setRequestProperty (URLConnection)
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • 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