Tabnine Logo
RealmAdapter.getComponent
Code IndexAdd Tabnine to your IDE (free)

How to use
getComponent
method
in
org.keycloak.models.cache.infinispan.RealmAdapter

Best Java code snippets using org.keycloak.models.cache.infinispan.RealmAdapter.getComponent (Showing top 1 results out of 315)

origin: org.keycloak/keycloak-model-infinispan

public void executeEvictions(ComponentModel model) {
  if (model == null) return;
  // If not realm component, check to see if it is a user storage provider child component (i.e. LDAP mapper)
  if (model.getParentId() != null && !model.getParentId().equals(getId())) {
    ComponentModel parent = getComponent(model.getParentId());
    if (parent != null && UserStorageProvider.class.getName().equals(parent.getProviderType())) {
      session.userCache().evict(this);
    }
    return;
  }
  // invalidate entire user cache if we're dealing with user storage SPI
  if (UserStorageProvider.class.getName().equals(model.getProviderType())) {
    session.userCache().evict(this);
  }
  // invalidate entire realm if we're dealing with client storage SPI
  // entire realm because of client roles, client lists, and clients
  if (ClientStorageProvider.class.getName().equals(model.getProviderType())) {
    cacheSession.evictRealmOnRemoval(this);
  }
}
org.keycloak.models.cache.infinispanRealmAdaptergetComponent

Popular methods of RealmAdapter

  • <init>
  • getAuthenticationFlows
  • getAuthenticatorConfigs
  • getDelegateForUpdate
  • getId
  • getIdentityProviders
  • executeEvictions
  • getCertificatePem
  • getClientById
  • getCodeSecret
  • getGroups
  • getPrivateKeyPem
  • getGroups,
  • getPrivateKeyPem,
  • getPublicKeyPem,
  • invalidateFlag,
  • isUpdated,
  • setCertificatePem,
  • setPrivateKeyPem,
  • setPublicKeyPem

Popular in Java

  • Running tasks concurrently on multiple threads
  • setScale (BigDecimal)
  • compareTo (BigDecimal)
  • putExtra (Intent)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • JList (javax.swing)
  • 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