Saml Samples

ASP.NET MVC Examples

Ultimate SAML includes a number of MVC examples demonstrating how to work with ADFS, SAML SSO, SAML SLO, SP Initiated, IdP Initiated, Shibboleth, Salesforce and Google Apps.

ADFS

This ASP.NET MVC application acts as a Service Provider. It connects to an ADFS Identity provider

Saml1 SSO

This contains two ASP.NET MVC sample projects demonstrating how to build SAML v1.1 Single Sign On IdP Initiated MVC Applications.

Google SSO

This contains two sample projects demonstrating how to build SAML v2.x Single Sign MVC app to connect to Google Apps.

IdP Initiated

This contains two sample projects demonstrating how to build SAML v2.x Single Sign On IdP Initiated MVC.

Metadata

This contains two sample projects demonstrating how to build SAML v2.x Single Sign On SP Initiated MVC Applications with metadata configuration.

Multiple Service Providers (cross-domain SSO)

This contains three sample projects demonstrating how to build SAML v2.x Cross-domain Single Sign On SP

Salesforce

This contains a sample project demonstrating how to build SAML v2.x Single Sign On Salesforce MVC

Salesforce acting as Idp IdP-Initiated

This contains a sample project demonstrating how to build SAML v2.x IdP-Initiated Single Sign On Applications with Salesforce acting as an Identifier Provider.

Salesforce acting as Idp SP-Initiated

This contains a sample project demonstrating how to build SAML v2.x SP-Initiated Single Sign On Applications with Salesforce acting as an Identifier Provider.

ASP.NET WebForms Examples

Ultimate SAML includes a number of Web examples demonstrating how to work with ADFS, SAML SSO, SAML SLO, SP Initiated, IdP Initiated, Shibboleth, Salesforce and Google Apps.

ADFS

This ASP.NET Web application acts as a Service Provider. It connects to an ADFS Identity provider

Saml1 SSO

This contains two ASP.NET Web sample projects demonstrating how to build SAML v1.1 Single Sign On IdP Initiated Web Applications.

Google SSO

This contains two sample projects demonstrating how to build SAML v2.x Single Sign Web app to connect to Google Apps.

IdP Initiated

This contains two sample projects demonstrating how to build SAML v2.x Single Sign On IdP Initiated Web.

Metadata

This contains two sample projects demonstrating how to build SAML v2.x Single Sign On SP Initiated Web Applications with metadata configuration.

Multiple Service Providers (cross-domain SSO)

This contains three sample projects demonstrating how to build SAML v2.x Cross-domain Single Sign On SP

Salesforce

This contains a sample project demonstrating how to build SAML v2.x Single Sign On Salesforce Web

Salesforce acting as Idp IdP-Initiated

This contains a sample project demonstrating how to build SAML v2.x IdP-Initiated Single Sign On Applications with Salesforce acting as an Identifier Provider.

Salesforce acting as Idp SP-Initiated

This contains a sample project demonstrating how to build SAML v2.x SP-Initiated Single Sign On Applications with Salesforce acting as an Identifier Provider.

WinForms and Console Examples

Ultimate SAML includes a number of WinForms and Console examples demonstrating how to work with ADFS, SAML SSO, SAML SLO, SP Initiated, IdP Initiated, Shibboleth, Salesforce and Google Apps.

MetadataUtility

This utility lets you read, validate and show XML metadata information.

Saml1 Demo

This WinForms application demonstrates how to load or create, verify and sign SAML1 messages.

Saml1 Xml Utility

This console application illustrates how to test SAML1 assertion, request and response XML.

Saml2 Demo

This WinForms application demonstrates how to load or create, verify and sign SAML2 messages.

Saml2 Xml Utility

This console application illustrates how to test SAML2 assertion, request and response XML.

Sign and Validate SHA 256

This console application illustrates how to create a SAML2 message and sign it with an SHA-256 certificate. This example also illustrates how to create your own SHA-256 cert.