WCF 和纯文本凭据:自定义 SecurityAlgorithmSuite?

发布于 2024-09-09 06:51:37 字数 184 浏览 5 评论 0原文

因此,WCF 不允许我按接收端 CXF 的预期发送纯文本 WS-Security 凭证。似乎不同的 SecurityAlgorithmSuite 实际上并不加密任何东西,但我不知道从哪里开始,至于我的“PlainTextSecurityAlgorithmSuite”中的各种属性应该返回什么值。有人这样做过吗?我认为这可以解决我的问题是否正确?提前致谢。

So out of the box, WCF doesn't allow me to send WS-Security credentials plain-text as they are expected by CXF on the receiving end. It seems as though different SecurityAlgorithmSuite which doesn't actually encrypt anything would do the trick, but I don't know where to begin as far as what values should be returned by the various properties in my "PlainTextSecurityAlgorithmSuite". Has anyone done this? Am I correct in thinking this would solve my problem? Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

坐在坟头思考人生 2024-09-16 06:51:37

检查此自定义绑定。它允许在不安全的通道上发送纯文本用户名令牌。

Check this custom binding. It allows sending plain text UserName token on unsecured channel.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文