Tabnine Logo
CachedClient.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.keycloak.models.cache.entities.CachedClient
constructor

Best Java code snippets using org.keycloak.models.cache.entities.CachedClient.<init> (Showing top 2 results out of 315)

origin: org.keycloak/keycloak-invalidation-cache-infinispan

@Override
public ClientModel getClientById(String id, RealmModel realm) {
  if (!cache.isEnabled()) return getDelegate().getClientById(id, realm);
  CachedClient cached = cache.getApplication(id);
  if (cached != null && !cached.getRealm().equals(realm.getId())) {
    cached = null;
  }
  if (cached == null) {
    ClientModel model = getDelegate().getClientById(id, realm);
    if (model == null) return null;
    if (appInvalidations.contains(id)) return model;
    cached = new CachedClient(cache, getDelegate(), realm, model);
    cache.addCachedClient(cached);
  } else if (appInvalidations.contains(id)) {
    return getDelegate().getClientById(id, realm);
  } else if (managedApplications.containsKey(id)) {
    return managedApplications.get(id);
  }
  ClientAdapter adapter = new ClientAdapter(realm, cached, this, cache);
  managedApplications.put(id, adapter);
  return adapter;
}
@Override
origin: org.keycloak/keycloak-invalidation-cache-model

CachedClient cachedClient = new CachedClient(cache, delegate, model, client);
cache.addCachedClient(cachedClient);
org.keycloak.models.cache.entitiesCachedClient<init>

Popular methods of CachedClient

  • getAttributes
  • getBaseUrl
  • getClientAuthenticatorType
  • getClientId
  • getClientTemplate
  • getDefaultRoles
  • getDescription
  • getId
  • getManagementUrl
  • getName
  • getNodeReRegistrationTimeout
  • getNotBefore
  • getNodeReRegistrationTimeout,
  • getNotBefore,
  • getProtocol,
  • getProtocolMappers,
  • getRealm,
  • getRedirectUris,
  • getRegisteredNodes,
  • getRegistrationToken,
  • getRoles

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • getSharedPreferences (Context)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Table (org.hibernate.mapping)
    A relational table
  • Top Vim 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