title: How to implement SAML for SSO using ADFS as identity Provider
body: <p>After 2 days of research ,now i am at assumption that ADFS can be used as Identity Provider which uses Active Directory as its Repository (this means we can store Username,password... required to identify user) .My confusions are</p>
  
  <ul>
  <li>When a user opens a login Page in SP ,and if there is trust
  relationship between SP and ADFS(IP) ,does the IP takes the windows
  logged in UserId to check user from active directory ?</li>
  <li>If the authentication is successful then does IP sends
  UserInformation(as a SAML responce) to SP ,so that i can create
  session for logged in user ?</li>
  <li>what should i do ,if user logs out from SP ,should i also have to
  clear session in IP(now ADFS)</li>
  </ul>
  
  <p>if my assumption are right ,how to implement ADFS as Identity Provider (IP) and consume its service in Asp.net Application (Service Provider) ?</p>