Tabnine Logo
CatalinaCookieTokenStore
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.keycloak.adapters.tomcat.CatalinaCookieTokenStore (Showing top 4 results out of 315)

origin: org.keycloak/spring-boot-container-bundle

@Override
public void checkCurrentToken() {
  this.authenticatedPrincipal = checkPrincipalFromCookie();
}
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;
}
origin: org.keycloak/keycloak-tomcat-core-adapter

@Override
public void checkCurrentToken() {
  this.authenticatedPrincipal = checkPrincipalFromCookie();
}
org.keycloak.adapters.tomcatCatalinaCookieTokenStore

Most used methods

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

Popular in Java

  • Making http post requests using okhttp
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • requestLocationUpdates (LocationManager)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 12 Jupyter Notebook extensions
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