【问题标题】:Refresh expired SAML Token for Sharepoint刷新 Sharepoint 的过期 SAML 令牌
【发布时间】:2012-03-14 06:51:04
【问题描述】:

我在 Windows 资源管理器中使用 Map Network Drive 来添加 Sharepoint 文件夹。此链接应该在 Sharepoint 返回的安全令牌的生命周期内有效。当令牌过期时,访问映射驱动器的唯一方法是重新登录到 Sharepoint。 有没有办法在过期前或过期后刷新令牌以避免重新登录步骤,比如通过用户可以运行的控制台应用程序?

【问题讨论】:

    标签: sharepoint networking network-drive


    【解决方案1】:

    您可以尝试几种方法。

    1. 将过期时间配置为较长,并创建简单的应用程序或 powershell 脚本,并在预定义的时间段内使用调度程序运行它。
    2. 将 Global.asax 修改为永无止境的会话。

    检查一下

    http://blogs.technet.com/b/speschka/archive/2010/08/09/setting-the-login-token-expiration-correctly-for-sharepoint-2010-saml-claims-users.aspx

    http://blogs.southworks.net/fboerr/2011/04/15/sliding-sessions-in-sharepoint-2010/

    http://jasear.wordpress.com/2011/01/10/sharepoint-2010-set-session-timout-on-a-fba-enabled-site/

    【讨论】:

    • 谢谢,这些确实是有用的链接。我正在通过修改 global.asax 在服务器上处理这个问题。请原谅我的无知,但如果 Sharepoint 恰好在云端,这种方法是否仍然有效?
    • 我从来没有在云上运行 SharePoint 的经验,所以在这里我帮不了你。但我可以建议你在 sharepoint.stackexchange.com 上提出这个问题
    猜你喜欢
    • 2017-10-19
    • 2023-02-16
    • 1970-01-01
    • 1970-01-01
    • 2020-02-05
    • 2015-11-04
    • 2019-08-05
    • 2017-12-02
    • 1970-01-01
    相关资源
    最近更新 更多