配置 Web 门户以传递自定义身份验证 Cookie

如果使用自定义身份验证扩展插件,则应将 Web 门户配置为传输自定义身份验证 Cookie。 否则,Web 门户通过 HTTP 请求传输特定于报表服务器的 Cookie。 如果要传输其他 Cookie,则必须修改 RSReportServer.Config 文件。

修改 RSReportServer.Config 文件

通过将 <PassThroughCookies> 元素添加到 RSReportServer.config 文件的 Web 门户配置设置中,可便于将其他 Cookie 传输到报表服务器。 在单一登录身份验证解决方案中,传输其他 Cookie 十分有用,因为此类解决方案不仅需要报表服务器身份验证 Cookie,而且还需要第三方身份验证系统中的 Cookie。

为了使用 Web 门户使其他 Cookie 可以通过 HTTP 请求进行传输,请在 RSReportServer.config 文件中设置下列元素:

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

针对报表服务器的身份验证
RsReportServer.config 配置文件
安全扩展插件概述
配置和管理报表服务器(SSRS 本机模式)
更多疑问? 请访问 Reporting Services 论坛