Codota Logo
SamlSessionStore.setCurrentAction
Code IndexAdd Codota to your IDE (free)

How to use
setCurrentAction
method
in
org.keycloak.adapters.saml.SamlSessionStore

Best Java code snippets using org.keycloak.adapters.saml.SamlSessionStore.setCurrentAction (Showing top 3 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.keycloak/keycloak-saml-adapter-core

@Override
public boolean challenge(HttpFacade httpFacade) {
  try {
    SAML2AuthnRequestBuilder authnRequestBuilder = buildSaml2AuthnRequestBuilder(deployment);
    BaseSAML2BindingBuilder binding = createSaml2Binding(deployment);
    sessionStore.saveRequest();
    sendAuthnRequest(httpFacade, authnRequestBuilder, binding);
    sessionStore.setCurrentAction(SamlSessionStore.CurrentAction.LOGGING_IN);
  } catch (Exception e) {
    throw new RuntimeException("Could not create authentication request.", e);
  }
  return true;
}
origin: org.keycloak/keycloak-saml-adapter-core

sessionStore.setCurrentAction(SamlSessionStore.CurrentAction.NONE);
  sessionStore.setCurrentAction(SamlSessionStore.CurrentAction.NONE);
  return AuthOutcome.FAILED;
} finally {
  sessionStore.setCurrentAction(SamlSessionStore.CurrentAction.NONE);
origin: org.keycloak/keycloak-saml-adapter-core

  sessionStore.setCurrentAction(SamlSessionStore.CurrentAction.LOGGING_OUT);
} catch (Exception e) {
  log.error("Could not send global logout SAML request", e);
org.keycloak.adapters.samlSamlSessionStoresetCurrentAction

Popular methods of SamlSessionStore

  • isLoggedIn
  • logoutAccount
  • getAccount
  • getRedirectUri
  • isLoggingIn
  • isLoggingOut
  • logoutByPrincipal
  • logoutBySsoId
  • saveAccount
  • saveRequest

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • putExtra (Intent)
  • orElseThrow (Optional)
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Stack (java.util)
    The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Collectors (java.util.stream)
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
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