congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
OIDCFilterSessionStore.buildWrapper
Code IndexAdd Tabnine to your IDE (free)

How to use
buildWrapper
method
in
org.keycloak.adapters.servlet.OIDCFilterSessionStore

Best Java code snippets using org.keycloak.adapters.servlet.OIDCFilterSessionStore.buildWrapper (Showing top 2 results out of 315)

origin: org.keycloak/keycloak-servlet-filter-adapter

public HttpServletRequestWrapper buildWrapper() {
  HttpSession session = request.getSession(false);
  KeycloakAccount account = null;
  if (session != null) {
    account = (KeycloakAccount) session.getAttribute(KeycloakAccount.class.getName());
    if (account == null) {
      account = (KeycloakAccount) request.getAttribute(KeycloakAccount.class.getName());
    }
  }
  if (account == null) {
    account = (KeycloakAccount) request.getAttribute(KeycloakAccount.class.getName());
  }
  return buildWrapper(session, account);
}
origin: org.keycloak/keycloak-servlet-filter-adapter

  return;
} else {
  HttpServletRequestWrapper wrapper = tokenStore.buildWrapper();
  chain.doFilter(wrapper, res);
  return;
org.keycloak.adapters.servletOIDCFilterSessionStorebuildWrapper

Popular methods of OIDCFilterSessionStore

  • <init>
  • checkCurrentToken
  • cleanSession
  • clearSavedRequest
  • logout
  • restoreRequest

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • getSupportFragmentManager (FragmentActivity)
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Best plugins for Eclipse
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