Codota Logo
RealmAdapter.getId
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: org.keycloak/keycloak-invalidation-cache-infinispan

@Override
public int hashCode() {
  return getId().hashCode();
}
origin: org.keycloak/keycloak-model-infinispan

@Override
public int hashCode() {
  return getId().hashCode();
}
origin: org.keycloak/keycloak-invalidation-cache-infinispan

@Override
public boolean equals(Object o) {
  if (this == o) return true;
  if (o == null || !(o instanceof RealmModel)) return false;
  RealmModel that = (RealmModel) o;
  return that.getId().equals(getId());
}
origin: org.keycloak/keycloak-model-infinispan

@Override
public boolean equals(Object o) {
  if (this == o) return true;
  if (o == null || !(o instanceof RealmModel)) return false;
  RealmModel that = (RealmModel) o;
  return that.getId().equals(getId());
}
origin: org.keycloak/keycloak-invalidation-cache-infinispan

protected void getDelegateForUpdate() {
  if (updated == null) {
    cacheSession.registerRealmInvalidation(getId());
    updated = cacheSession.getDelegate().getRealm(getId());
    if (updated == null) throw new IllegalStateException("Not found in database");
  }
}
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.infinispanRealmAdaptergetId

Popular methods of RealmAdapter

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

Popular in Java

  • Making http requests using okhttp
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now