Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This topic lists out the steps required to configure and execute testing of Identity Server's Passive STS. 

...

  1. Create a folder in your local machine and navigate to it using your command line.
  2. Download the Java sample by entering the following.The location of this folder will be referred to as <SAMPLE_HOME> from this point onwards.
     

    Code Block
    svn co http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.0.0/modules/samples/passive-sts/

Do the following configuration changes to the  <SAMPLE_HOME>/src/main/webapp/WEB-INF/web.xml  file.

  1. Specify  idpUrl  as the URL of Identity Server's Passive STS. The following is an example. 

    Code Block
    languagexml
    <init-param>
                <param-name>idpUrl</param-name>
    			<param-value>https://localhost:9443/passivests</param-value>
    </init-param> 
  2. Specify the replyURL as the URL of the web app. The following specifies PassiveSTSSampleApp as the web app.

    Code Block
    languagexml
    <init-param>
    			<param-name>replyUrl</param-name>
    			<param-value>http://localhost:8080/PassiveSTSSampleApp/index.jsp</param-value>
    </init-param>


  3. Specify the  realm . This should be a unique identifier for the web app as seen in the example below. 

    Code Block
    languagexml
    <init-param>
    			<param-name>realm</param-name>
    			<param-value>PassiveSTSSampleApp</param-value>
    </init-param> 

...