设置新的WIF服务 [英] setting up new WIF service

查看:75
本文介绍了设置新的WIF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是WIF的新手,正在努力弄清楚我需要做些什么来支持典型的情况。 我有一个WCF Web服务公开net.tcp端点,使用Windows帐户和覆盖CheckAccessCore来保护它们。 只有管​​理员和一个
其他组才能访问。

I am new to WIF and am trying to figure out what I need to do to support a typical scenario.  I have a WCF web service exposing net.tcp endpoints which is secured using windows accounts and overiding CheckAccessCore.  Only administrators and one other group can access.

我现在添加了webHttpBindings以支持REST并使用证书。加密 我想只允许管理员和其他一组访问。 该应用程序是一个Intranet应用程序,可以安装在大型域或独立工作组上。 
我需要允许java客户端和未来的移动客户端访问。

I now added webHttpBindings for REST support and am using a certificate for encryption.  I would like to only allow admins and one other group to access.  The app is an intranet app that can be installed on large domains or a standalone workgroup.  I need to allow java clients and future mobile clients access.

我想将STS构建到我现有的WCF服务中  STS将只是检查Windows凭证。

I would like to build the STS into my existing WCF service.  The STS will just be checking windows credentials.

我的问题是......

my questions are...

1) WIF是此设置的正确解决方案吗? 或者有没有办法在每次REST调用时发送NetworkCredential?

1) is WIF the right solution for this setup?  or is there a way to just send a NetworkCredential along with each REST call?

2)我将如何实施此WIF设置? 暴露一个ws2007HttpBinding? 它会实现什么界面?

2) how would i go about implementing this WIF setup?  expose a ws2007HttpBinding?  what interface would it implement?

3)我的REST绑定是否仍然使用webHttpBindings?

3) would my REST bindings still use webHttpBindings?

任何帮助表示赞赏。

谢谢。

推荐答案

你不需要WIF。 WebHttpBinding支持客户端证书,Windows和用户名/密码。
You don't need WIF for that. WebHttpBinding supports client certs, Windows and username/password out of the box.


这篇关于设置新的WIF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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