Skip to content

Adaptive authentication scenarios - Overview

See the topics given below to learn about the adaptive authentication scenarios supported in WSO2 Identity Server and to try them out.

Adaptive authentication scenarios

Set up the samples

To try out the adaptive authentication scenarios listed above, let's set up the sample applications.

Set up the sample

This section guides you on how to set up the sample SAML application.

Prerequisites

  • Download Apache Tomcat 8.x and install it. Tomcat server installation location will later be referred to as <TOMCAT_HOME> in this guide.

  • It is recommended that you use a hostname that is not localhost to avoid browser errors. Modify your machine's /etc/hosts entry to reflect this.

    Info

    Note that wso2is.local is used in this documentation as an example, but you must modify this when configuring the authenticators or connectors with this sample application.

  • Download the SAML pickup dispatch application from the latest release assets.


Deploy the sample web app

To deploy the sample web app on a web container:

  1. Copy the downloaded .war file of the SAML application into the webapps directory of the Tomcat folder.

  2. Start the Tomcat server.


Register a service provider

  1. On the Management Console, go to Main > Identity > Service Providers and click Add.

  2. Enter saml2-web-app-pickup-dispatch as the Service Provider Name, and click Register.

  3. Expand the Inbound Authentication Configuration > SAML2 Web SSO Configuration section and, click Configure.

  4. Enter the following values in the fields mentioned.

    Field name Value
    Issuer saml2-web-app-pickup-dispatch.com
    Assertion Consumer URL http://localhost.com:8080/saml2-web-app-pickup-dispatch.com/home.jsp

    Info

    Click Yes on the dialog that appears after you add the Assertion Consumer URL. This dialog appears when you add an http URL.

  5. Enable the following by selecting the corresponding checkboxes:

    • Enable Response Signing
    • Enable Signature Validation in Authentication Requests and Logout Requests
    • Enable Single Logout
    • Enable Attribute Profile
      • Include Attributes in the Response Always

    Tip

    For more information on the advanced configurations, see Advanced SAML Configurations.

  6. Click Register to add the service provider and save the configurations.

Top