congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • addToBackStack (FragmentTransaction)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • JPanel (javax.swing)
  • Top plugins for WebStorm
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