• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 623
  • Last Modified:

SAML: Integration with ASP.NET

Hello,

Do you have good practical example to use SAML in ASP.NET like in SSO, Attribute authentication, Web Service Authentication?

Best Regards
1
MohitPandit
Asked:
MohitPandit
1 Solution
 
Randy DownsOWNERCommented:
You can get a free trial of Component Space.

Fully functional, enterprise ready SAML single sign-on solutions

Maybe this will be helpful.


Code performing a SAML Post which can be used for Single Sign On applications

Using the code in an ASP.NET application is a little harder to execute than outlined here. This is because the framework does not really have an easy way to perform an HTTP POST programmatically. There are several ways to accomplish this. I usually use the JavaScript submit method.

To use the code, develop your application as you typically would. Develop a page which will perform the SSO and place two asp:input controls on the page. For SAML 2.0, the control names should be SAMLResponse and RelayState. Place a div tag around the input fields, and set the style to "display:none" so that it will not show to the user.
0
 
MohitPanditAuthor Commented:
Thanks much
0
 
pouna hoCommented:
Hello,
i would like to know how can i send a signed "SHA-256"  AuthRequest with HTTP-REDIRECT
for my SP initiated.
ASP.NET , C#
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now