ComponentPro UltimateSaml

Shibboleth Web Applications

Language Filter: AllSend comments on this topic to ComponentPro

After successfully installing the UltimateSaml setup package you will see two web sample projects in folder Samples\Saml\Web\CS\Saml2Shibboleth for C# and Samples\Saml\Web\VB\Saml2Shibboleth for VB.NET. To run these web sample projects, open the solution file Saml2Shibboleth_XXXX.sln, and then press F5 in the Visual Studio IDE.

These applications may also be used to demonstrate interoperability with Shibboleth. Shibboleth (http://shibboleth.internet2.edu) is an open source SSO software package using Java and C++ technologies. Installation and configuration of the Shibboleth software are beyond the scope of this document and is not required for this demonstration.

Identity Provider Web Application

This sample is configured to run on port 1423 (you can easily change the port number in the project property page). The identity provider web application, in conjunction with Service Provider web application, demonstrates SP initiated single sign-on. The following steps will guide you how to run this sample project:

1. Login to the system with the username iuser and a password of password.

ShiIP

2. You are now presented with the Identity Provider's default page.

ShiIPLoggedIn

3. Click on the link to access the Service Provider site. You should be presented with the Service Provider's default page.

ShiSPIP

You have successfully completed a SAML 2.0 Single Sign-On and are logged in at the Service Provider with your Identity Provider username.

How to configure?

You can easily configure the ID Provider web application by modifying the settings within its web.config file's <appSettings> section:

Service Provider Web Application

This sample is configured to run on port 1424 (you can easily change the port number in the project property page). The service provider web application, in conjunction with Identity Provider web application, demonstrates SP initiated single sign-on. You can directly login to the local system by entering credentials (suser/password) and clicking on the Login button (login to SP without Single Sign-On) or follow the steps below to run the application with Single Sign-On (In this scenario, the user is attempting to access a protected resource on the service provider and, rather than performing a local login at the service provider, SSO is initiated with a local login occurring at the identity provider and the asserted identity, passed to the service provider in a SAML assertion, is used to perform an automatic login at the service provider):

1. Click on the Login button under the text Login at the Identity Provider

ShiSP

2. You should then be presented with the Identity Provider's login page as you will be logging in at the identity provider.

ShiIP

3. Login with username iuser and a password of password. You should then be presented with the service provider's default page.

ShiIPIP

You have successfully completed a SAML 2.0 Single Sign-On and are logged in at the Service Provider with your Identity Provider username.

How to configure?

You can easily configure the Service Provider web application by modifying the settings within its web.config file's <appSettings> section: