設定報表管理員傳遞自訂驗證 CookieConfigure Report Manager to Pass Custom Authentication Cookies

如果您要使用自訂驗證延伸模組,您應配置報表管理員來傳送自訂驗證 Cookie。If you are using a custom authentication extension, you should configure Report Manager to transmit custom authentication cookies. 否則,報表管理員只能透過報表伺服器特定的 HTTP 要求來傳送 Cookie。Otherwise, Report Manager will only transmit cookies through HTTP requests specific to the report server. 如果您要傳送其他 Cookie,就必須修改 RSReportServer.Config 檔。If you want to transmit additional cookies, you must modify the RSReportServer.Config file.

修改 RSReportServer.Config 檔Modifying the RSReportServer.Config File

您可以啟用報表管理員來加傳送其他 cookie 傳送至報表伺服器 <PassThroughCookies> RSReportServer.config 檔案中的報表管理員組態設定的項目。You can enable Report Manager to transmit additional cookies through to the report server by adding a <PassThroughCookies> element to the Report Manager configuration settings in the RSReportServer.config file. 當單一登入驗證方案不僅需要報表伺服器驗證 Cookie,同時也需要協力廠商驗證系統提供的 Cookie 時,傳送其他 Cookie 這項功能就顯得非常有用。Transmitting additional cookies is helpful in a single sign-on authentication solution that requires not only the report server authentication cookies, but also cookies from a third-party authentication system.

使用報表管理員時,若要能夠透過 HTTP 要求來傳送其他 Cookie,則必須在 RSReportServer.config 檔中設定下列元素:To enable additional cookies to be transmitted through HTTP requests when using Report Manager, set the following elements in the RSReportServer.config file:

<UI>  
   <CustomAuthenticationUI>  
      ...  
      <PassThroughCookies>  
         <PassThroughCookie>cookiename1</PassThroughCookie>  
         <PassThroughCookie>cookiename2</PassThroughCookie>  
      </PassThroughCookies>  
   </CustomAuthenticationUI>  
      ...  
</UI>  

另請參閱See Also

使用報表伺服器驗證 Authentication with the Report Server
RSReportServer 組態檔 RSReportServer Configuration File
安全性延伸模組概觀 Security Extensions Overview
設定和管理報表伺服器 (SSRS 原生模式)Configure and Administer a Report Server (SSRS Native Mode)