...
Running the STS client
The code for the sample client can be checked out from here. For more information, see Downloading from the GitHub repository. To do this, follow the instructions on the Downloading a Sample topic.
https://github.com/wso2/product-is/tree/master/modules/samples/sts/sts-clientCode Block Build the client using
mvn install
.Once the client is built successfully, run the
sts-client.sh
file in Unix orsts-client.bat
in Windows. You can see that the SAML token issued from the STS is being printed by the client.Note 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.
...