How to set the timeout properly when federating with the ADFS 2.0

前端 未结 3 1683
清歌不尽
清歌不尽 2021-01-02 09:12

I am using ADFS 2.0 for quite some time and I understand how things work. I\'ve done dozen of custom RPs, custom STSes as well as using the ADFS as the relying STS.

相关标签:
3条回答
  • 2021-01-02 09:43

    You could also try changing ADFS from windows integrated authentication to forms based authentication. You will probably still have to monkey with the freshness property but now your users will have to enter their credentials even if they are on the same network as your AD.

    This article explains it pretty simply:

    http://social.technet.microsoft.com/wiki/contents/articles/1600.aspx

    0 讨论(0)
  • 2021-01-02 09:44

    As per comments above (joint effort with the OP) the Freshness property on the FederatedPassiveSignIn instance should be set to 0.

    According to http://docs.oasis-open.org/wsfed/federation/v1.2/ws-federation.html this indicates for the IP/STS to re-prompt the user for authentication before it issues the token.

    0 讨论(0)
  • 2021-01-02 09:46

    It's quite strange that setting the TokenLifetime value didn't work . The article in MSDN explains timeout as a straight forward setting - by assigning TokenLifetime value. I'm interested to know whether the setting described in MSDN is correct. If that didn't help, then it's right time to revise that article. Hope that will be a big help to those who are facing this issue.

    0 讨论(0)
提交回复
热议问题