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

  • Start an intent from android
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Runner (org.openjdk.jmh.runner)
  • From CI to AI: The AI layer in your organization
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