如果您使用自訂驗證延伸模組,您應該將報表管理員設定為傳輸自定義驗證 Cookie。 否則,報表管理員只會透過報表伺服器專屬的 HTTP 要求來傳輸 Cookie。 如果您想要傳輸其他 Cookie,您必須修改 RSReportServer.Config 檔案。
修改 RSReportServer.Config 檔案
您可以在 RSReportServer.config 檔案中的報表管理員配置設定中新增<PassThroughCookies>元素,從而啟用報表管理員傳輸其他 Cookie 到報表伺服器。 傳輸其他 Cookie 有助於單一登錄驗證解決方案,此解決方案不僅需要報表伺服器驗證 Cookie,而且需要來自第三方驗證系統的 Cookie。
若要在使用報表管理員時透過 HTTP 要求傳輸其他 Cookie,請在 RSReportServer.config 檔案中設定下列元素:
<UI>
<CustomAuthenticationUI>
...
<PassThroughCookies>
<PassThroughCookie>cookiename1</PassThroughCookie>
<PassThroughCookie>cookiename2</PassThroughCookie>
</PassThroughCookies>
</CustomAuthenticationUI>
...
</UI>
另請參閱
使用報表伺服器進行驗證
RSReportServer 組態檔
安全性延伸模組概觀
設定與管理報表伺服器 (SSRS 原生模式)