【发布时间】:2013-12-27 22:00:05
【问题描述】:
在 WSTrustChannelFactory 文档中有使用代理的参考:
One common pattern where the OnBehalfOf feature is used is the proxy
pattern where the client cannot access the STS directly but instead
communicates through a proxy gateway
我似乎找不到示例。
在我的一些用户的计算机中,为外部请求定义了代理。
如果 STS 在代理之后,我如何请求令牌。
目前我得到它如下:
var rst = new RequestSecurityToken{...}
IWSTrustChannelContract wsTrustChannelContract = factory.CreateChannel();
var token = wsTrustChannelContract.Issue(rst) as GenericXmlSecurityToken;
如何将其更改为使用代理?
谢谢。
【问题讨论】:
标签: c# security proxy wif ws-trust