Forums, Documentation & Knowledge Base - ComponentSpace

Testing for SAML SSO


https://componentspace.com/forums/Topic1438.aspx

By skande - 1/29/2015

I have developed Service Provider Assertion Consumer Service but when i want to test there are no API's in the dll to do that. Do you have any documents or a standard procedure to test these service built using Component Space.
By ComponentSpace - 1/29/2015

You could use the SAML high-level API ExampleIdentityProvider project to test your service provider.
Are you looking to support some sort of automated testing?
This can be done using mock objects for the HTTP context, request and response. However, you cannot use a static SAML response/assertion as this will fail the time period check. You would need to construct a SAML assertion and response through our API.
The simplest approach is to test using the ExampleIdentityProvider.