SSRS2016自定义认证和移动报表问题 Having problems using SSRS Mobile Report Publisher by custom authentication mode

weixin_38053335 2016-12-28 03:19:32










By custom authentication mode, the new report designer with SSRS2016 "Mobile Report Publisher" can't connect to the server.

So, if using custom authentication extension, you can't use the Mobile Report Publisher to create/edit the report.



Question 1#:

I traced by VS2015, it seems like the publisher try to invoke /reports/api/endpoints and
be redirected to
http://127.0.0.1/ReportServer/login.aspx?ReturnUrl=http://127.0.0.1/reports/api/endpoints

even though the setting in web.config is:
<authentication mode="None" />

or
<authentication mode="Forms" />


Question 2#:

I added a webpage login.aspx for
redirecting the request to /reports/api/endpoints,
then there is another problem:

Traced by VS2015, "Mobile Report Publisher" didn't invoke the UserLogon() method
implemented by custom Extension (defined by interface IAuthentication/IAuthentication2).

Is it a bug ?


自定义认证模式,无论 ReportServer/web.config 中设置认证方式为 
<authentication
mode="None"
/> 或
<authentication
mode="Forms"
/>
使用移动报表发布程序,连接服务器时,选择非 Windows账户,用 vs2015 跟踪:
1. 请求 /api/endpoints 被转向到 login.aspx
2. 添加一个 login.aspx 负责 redirect 到 /api/endpoints 后,移动报表发布程序并没有调用 IAuthentication/IAuthentication2 的 UserLogon() 方法进行身份验证。
所以,一旦启用自定义验证模式,就无法使用移动报表发布程序。
除非在 login.aspx 中进行虚假认证——这样权限就被完全放开了。


...全文
13 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

476

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧