This topic lists out the steps required to configure and execute testing of Identity Server's Passive STS.
...
- Create a folder in your local machine and navigate to it using your command line.
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.
Specify
idpUrl
as the URL of Identity Server's Passive STS. The following is an example.Code Block language xml <init-param> <param-name>idpUrl</param-name> <param-value>https://localhost:9443/passivests</param-value> </init-param>
Specify the
replyURL
as the URL of the web app. The following specifiesPassiveSTSSampleApp
as the web app.Code Block language xml <init-param> <param-name>replyUrl</param-name> <param-value>http://localhost:8080/PassiveSTSSampleApp/index.jsp</param-value> </init-param>
Specify the
realm
. This should be a unique identifier for the web app as seen in the example below.Code Block language xml <init-param> <param-name>realm</param-name> <param-value>PassiveSTSSampleApp</param-value> </init-param>
...