如果使用自定义身份验证扩展插件,则应将报表管理器配置为传输自定义身份验证 Cookie。 否则,报表管理器只会通过特定于报表服务器的 HTTP 请求传输 Cookie。 如果要传输其他 Cookie,则必须修改 RSReportServer.Config 文件。
修改 RSReportServer.Config 文件
可以通过将元素添加到 <PassThroughCookies> RSReportServer.config 文件中的报表管理器配置设置,使报表管理器能够将其他 Cookie 传输到报表服务器。 传输其他 Cookie 有助于单一登录身份验证解决方案,该解决方案不仅需要报表服务器身份验证 Cookie,而且需要来自第三方身份验证系统的 Cookie。
若要在使用报表管理器时允许通过 HTTP 请求传输其他 Cookie,请设置 RSReportServer.config 文件中的以下元素:
<UI>
<CustomAuthenticationUI>
...
<PassThroughCookies>
<PassThroughCookie>cookiename1</PassThroughCookie>
<PassThroughCookie>cookiename2</PassThroughCookie>
</PassThroughCookies>
</CustomAuthenticationUI>
...
</UI>
另请参阅
使用报表服务器进行身份验证
RSReportServer 配置文件
安全扩展插件概述
配置和管理报表服务器(SSRS 本机模式)