WCF 和纯文本凭据:自定义 SecurityAlgorithmSuite?
因此,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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查此自定义绑定。它允许在不安全的通道上发送纯文本用户名令牌。
Check this custom binding. It allows sending plain text UserName token on unsecured channel.