This documentation is for WSO2 Identity Server 5.1.0 . View documentation for the latest release.
Skip to end of metadata
Go to start of metadata

The following sample demonstrates the steps required to run a Security Token Service (STS) client. The STS will provide the service of issuing a security token to authenticate a user for your client application, using WS-Trust protocols. 


The WS-Trust STS needs to be configured. You can do this by following the instructions found here.  

Running the STS client

  1. The code for the sample can be checked out from the GitHub repository. To do this, follow the instructions on the Downloading a Sample topic. 

  2. Build the client using mvn clean install.

  3. Once the client is built successfully, run the file in Unix or sts-client.bat in Windows. You can see that the SAML token issued from the STS is being printed by the client.

    The "connection refuse" error occurs in a situation where the STS client attempts to send the received SAML token to a service that is not running in this case.

Request and response messages to and from the STS



  • No labels