title: SAML Identity Provider based on Active Directory
body: <p>I have a 3rd party program that supports web SSO using SAML 1.1 (it is ready to serve as the Service Provider, in other words).  </p>
  
  <p>We would like to implement this SSO for our intranet users based on their Active Directory credentials.  In other words, they've already logged on to their system, so let's simply use those credentials to facilitate an SSO.  I am a little overwhelmed at where to begin, though.</p>
  
  <p>My initial thought is that IIS / Active Directory could easily serve as the Identity Provider since IIS gives us "Integrated Windows Authentication" abilities.  I would think we could just create a .NET web app that requires Integrated Authentication which simply extracts the current user ID, builds the SAML response, and re-directs the user back to the Service Provider with this SAML response to complete the SSO.</p>
  
  <p>But then, my problem is that I simply have no real idea of how to go about creating this SAML response, the X.509 certs involved, etc...  I am wondering if I am in over my head on this, or if creating this SAML response should be relatively easy.</p>
  
  <p>Note this SSO is to be used by intranet users only, so no need to worry about federating with other companies / domains.</p>