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

How to use
SamlEndpoint
in
org.keycloak.adapters.saml.profile.webbrowsersso

Best Java code snippets using org.keycloak.adapters.saml.profile.webbrowsersso.SamlEndpoint (Showing top 2 results out of 315)

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

@Override
protected SamlAuthenticationHandler createBrowserHandler(HttpFacade facade, SamlDeployment deployment, SamlSessionStore sessionStore) {
  return new SamlEndpoint(facade, deployment, sessionStore);
}
origin: org.keycloak/keycloak-saml-adapter-core

  @Override
  public AuthOutcome handle(OnSessionCreated onCreateSession) {
    String samlRequest = facade.getRequest().getFirstParam(GeneralConstants.SAML_REQUEST_KEY);
    String samlResponse = facade.getRequest().getFirstParam(GeneralConstants.SAML_RESPONSE_KEY);
    String relayState = facade.getRequest().getFirstParam(GeneralConstants.RELAY_STATE);
    if (samlRequest != null) {
      return handleSamlRequest(samlRequest, relayState);
    } else if (samlResponse != null) {
      return handleSamlResponse(samlResponse, relayState, onCreateSession);
    }
    return AuthOutcome.NOT_ATTEMPTED;

  }
}
org.keycloak.adapters.saml.profile.webbrowserssoSamlEndpoint

Most used methods

  • <init>
  • handleSamlRequest
  • handleSamlResponse

Popular in Java

  • Updating database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top 25 Plugins for Webstorm
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