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

How to use
org.keycloak.adapters.tomcat.CatalinaCookieTokenStore
constructor

Best Java code snippets using org.keycloak.adapters.tomcat.CatalinaCookieTokenStore.<init> (Showing top 2 results out of 315)

origin: org.keycloak/keycloak-tomcat-core-adapter

protected AdapterTokenStore getTokenStore(Request request, HttpFacade facade, KeycloakDeployment resolvedDeployment) {
  AdapterTokenStore store = (AdapterTokenStore)request.getNote(TOKEN_STORE_NOTE);
  if (store != null) {
    return store;
  }
  if (resolvedDeployment.getTokenStore() == TokenStore.SESSION) {
    store = createSessionTokenStore(request, resolvedDeployment);
  } else {
    store = new CatalinaCookieTokenStore(request, facade, resolvedDeployment, createPrincipalFactory());
  }
  request.setNote(TOKEN_STORE_NOTE, store);
  return store;
}
origin: org.keycloak/spring-boot-container-bundle

protected AdapterTokenStore getTokenStore(Request request, HttpFacade facade, KeycloakDeployment resolvedDeployment) {
  AdapterTokenStore store = (AdapterTokenStore)request.getNote(TOKEN_STORE_NOTE);
  if (store != null) {
    return store;
  }
  if (resolvedDeployment.getTokenStore() == TokenStore.SESSION) {
    store = createSessionTokenStore(request, resolvedDeployment);
  } else {
    store = new CatalinaCookieTokenStore(request, facade, resolvedDeployment, createPrincipalFactory());
  }
  request.setNote(TOKEN_STORE_NOTE, store);
  return store;
}
org.keycloak.adapters.tomcatCatalinaCookieTokenStore<init>

Popular methods of CatalinaCookieTokenStore

  • checkPrincipalFromCookie
    Verify if we already have authenticated and active principal in cookie. Perform refresh if it's not

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • ImageIO (javax.imageio)
  • JFileChooser (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • 14 Best Plugins for Eclipse
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