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

SingleSignOn with ADFS in my Classic ASP site?

I have a Classic ASP site, hosted on Windows 2003, IIS 6. My client would like to have SSO (SingleSignOn) using his ADFS, instead of my own self built user login system. Is there an easy way to do this, where someone have already built the wheel, so integration will be easy?

My system is SaaS, hosted externally from the client ADFS.

Can someone explain me ADFS structure and how to accomplish this?
0
jawsdk
Asked:
jawsdk
  • 3
  • 2
1 Solution
 
arnoldCommented:
Disable anonymous logins, let the user be prompted or authentication, then your ASP have to look at the environment variables to identify the user that logged in and rely on your nternal mask for what rights the user has.
http://stackoverflow.com/questions/13148226/access-iis-server-variables-in-nancy-module
http://forums.asp.net/t/1540119.aspx
0
 
jawsdkAuthor Commented:
arnold: I guess this will only work when IIS is on same internal network as users. But as I told, this is externally hosted SaaS system, so we cant do this.
0
 
arnoldCommented:
One way is they need to periodically export their AD data and for you to import it. Or you can tie your app to proxy/remote connect to their AD.

What options do you have on your own systems?
0
 
jawsdkAuthor Commented:
They are using ADFS (not good old AD) and as far as I can read, this is especially good to do SSO with external providers, like me. But that is as far as I can come...
0
 
arnoldCommented:
Your code instead of accessing the local db, will need to connect to their adfs server.
http://msdn.microsoft.com/en-us/magazine/cc163520.aspx
Not sure whether you can use classic asp to remotely exchange SAML messages.


http://stackoverflow.com/questions/5958575/saml-2-0-browser-post-profile-single-sign-on-to-classic-asp-web-site
Discusses creating a asp.net SSL while maintaining the site as is.
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

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

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