...
The following sections expand on SAML2 based SSO:
Table of Contents |
---|
See Configuring SAML2 SSO for a sample on how this can be set up.
Single Sign On In Reality
...
Likewise the message from the WSO2 Identity Server can be read easily.
Configuring the SAML 2.0 SSO Demonstration
To configure the SAML 2.0 SSO demonstration:
- Download the SAML2 SSO sample service provider .war file from here.
- Extract the saml2-demo.war file to your Apache-Tomcat server's webapps folder.
- Open the web.xml file which can be found in the path
[tomcat-home]/webapps/saml2.demo/WEB-INF/web.xml
.
- Given configurations are valid for default configurations of the WSO2 Identity Server and Apache Tomcat Server
- Issuer: This is a unique name given for this Service Provider
- IdpUrl: The URL of the WSO2 Identity Server SAML SSO Provider. This has the pattern:
https://{is-host-name}:{is-https-port}/samlsso.
- ConsumerUrl: The URL of the SAML2ConsumerServlet of this webapp. This has the pattern:
http://{tomcat-host-name}:{tomcat-http-port}/saml2.demo/consumer
.
Configuring the WSO2 Identity Server as a SAML 2.0 SSO Identity Provider
To configure the WSO2 Identity Server as a SAML 2.0 SSO Identity Provider:
- Start the WSO2 Identity Server and sign in as an admin.
- Go to the SAML SSO page which is under the Manage menu in the left pane.
- Make the following configuration changes. Use exactly the same values used to configure the webapp.
...
.
...
WSO2 Identity Server SSO Feature Demonstration
- Start Apache-tomcat and visit http://localhost:8080/saml2.demo/.
- Click on Sign In. You are redirected to the WSO2 Identity Server. Enter the Username and Password.
- After successful authentication you are logged into the service provider.