无法处理mustUnderstand标头:{http:docs.oasis-open.orgwss200401oasis-200401-wss-wssecurity-secext-1.0.

无法处理mustUnderstand标头:{http:docs.oasis-open.orgwss200401oasis-200401-wss-wssecurity-secext-1.0.,第1张

无法处理mustUnderstand标头:{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.

我能够在https://docs.spring.io/spring-
ws/site/apidocs/org/springframework/ws/soap/security/wss4j/Wss4jSecurityInterceptor.html
和https://memorynotfound.com找到解决方案/ spring-ws-username-
password-authentication-wss4j /。

我只是在bean下面使用它,它开始正常工作

@Beanpublic Wss4jSecurityInterceptor securityInterceptor() {  Wss4jSecurityInterceptor security = new Wss4jSecurityInterceptor();  security.setSecurementActions("NoSecurity");  security.setSecurementPasswordType(WSConstants.PW_TEXT);  return security;}


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5641438.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-16
下一篇 2022-12-16

发表评论

登录后才能评论

评论列表(0条)

保存