OData和安全类型 [英] OData and types of security

查看:96
本文介绍了OData和安全类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法抗拒尝试OData支持。我使用excel powerpivot作为客户端并尝试连接到已部署的应用程序。

I couldn't resist trying out the OData support. I used excel powerpivot as client and tried to connect to a deployed app.

该服务的地址如下:  http://MyHost/MyApplicationName/ApplicationData.svc/Customers  (我有一个表客户)

The address for the service goes as follows: http://MyHost/MyApplicationName/ApplicationData.svc/Customers (i have a table customers)

像魅力一样工作。

我也尝试过表单身份验证,但我无法正常工作。

I tried also with forms authentication, but I couldn't get this working.

任何想法?







paul van bladel

paul van bladel

推荐答案

当您使用excel powerpivot连接到OData时,有一个地方可以把UserName和密码。

When you connect to OData with excel powerpivot, there is a place to put UserName and Password.

点击"From Da" ta Feeds" "表导入向导"对话框出现。 点击"推进"按钮。按钮 在安全部分下面是"密码"部分。和"用户ID"。 使用普通表单身份验证用户名作为用户ID,密码
表示密码。 单击"确定"。

After you click "From Data Feeds" the "Table Import Wizard" dialog appears.  Click the "Advance" button.  Under the Security section is "Password" and "User ID".  Use your normal forms authentication user name for User ID and the password for Password.  Click OK.


这篇关于OData和安全类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆