This documentation is for WSO2 Identity Server 5.0.0. View documentation for the latest release.
Page Comparison - Configuring Single Sign-On with SAML 2.0 (v.15 vs v.16) - Identity Server 5.0.0 - WSO2 Documentation

Versions Compared

Key

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

...

Expand
titleClick here to view vital information when running this sample in WSO2 Application Server
Info
titleWhen running this sample on AS

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.

  1. Remove log4j-over-slf4j-1.6.1.jar file from travelocity.com.war/WEB-INF/lib directory and deploy.
  2. Modify <AS_HOME>/repository/conf/tomcat/webapp-classloading-environments.xml to resolve the slf4j conflict and restart the WSO2 Application Server. This change is done so as not to expose the org.slf4j.* package from WSO2 Carbon. 

    Code Block
    languagexml
    <DelegatedEnvironment> 
                <Name>Carbon</Name> 
                <DelegatedPackages>*,!org.springframework.*,!org.slf4j.*</DelegatedPackages> 
    </DelegatedEnvironment>

...

Tip

Tip: If you wish to change properties like the issuer ID, consumer URL and IdP URL, you can edit the travelocity.properties file found inside the travelocity.com/WEB-INF/classes directory. This sample uses the following default values.

PropertiesDescription
SAML.IssuerID=travelocity.comA unique identifier for this SAML 2.0 Service Provider application
SAML.ConsumerUrl=http://localhost:8080/travelocity.com/home.jspThe URL of the SAML 2.0 Assertion Consumer
SAML.IdPUrl=https://localhost:9443/samlssoThe URL of the SAML 2.0 Identity Provider
Info

If you edit the travelocity.properties file, you must restart the Apache Tomcat server for the changes to take effect.

...