ComponentSpace

Forums



Load and send a Custom SAML Response


Load and send a Custom SAML Response

Author
Message
fabio.rapelli@willistowers...
fabio.rapelli@willistowerswatson.com
New Member
New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)New Member (11 reputation)

Group: Forum Members
Posts: 7, Visits: 45
I created a service provider following the demo MvcExampleServiceProvider project.
As Identity Provider i use MvcExampleIdentityProvider project (modified to call my service provider).
I would like to load a custom SAML.xml document and send it as response:
SAMLIdentityProvider.SendSSO(Response, userName, attributes);

Is it possible?
Thank you.

ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
Hi Fabio
This is possible using the SAML low-level API but not recommended.
The reason for this is that you would have to turn off a number of security checks to have the SAML response processed successfully.
These are to do with time-related validity periods, replay attacks etc. If you update these you would then need to regenerate the XML signature.
You should be able to call SAMLIdentityProvider.SendSSO to include whatever user name and SAML attributes you require.
Other details such as what is signed etc are controlled through configuration.
And information, such as IDs, time values etc are set automatically by our code.

Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Select a Forum....












Forums, Documentation & Knowledge Base - ComponentSpace


Search