This sample is a demonstration on how to configure SAML2 SSO using a sample service provider.
Both this SSOAgentSample application and WSO2 Application Server contain different versions of the same slf4j jar. As a solution you can select ONE of the following approaches.
Configuring the web app
Check out the source from the repository location which contains the samples.
svn co http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/4.6.0/modules/samples/sso/
<HOME>/sso/SSOAgentSamplein the checked out folder and build the sample with following command.
mvn clean install
- After successfully building the sample, a .war file named
travelocity.comcan be found inside the
Deploy this sample web app on a web container. To do this, use the Apache Tomcat server.
Since this sample is written based on Servlet 3.0 it needs to be deployed on Tomcat 7.x.
Use the following steps to deploy the web app in the web container:
- Stop the Apache Tomcat server if it is already running.
- Copy the
travelocity.warfile to the
- Start the Apache Tomcat server.