【发布时间】:2011-11-21 02:04:45
【问题描述】:
我正在开发一个使用 Spring-WS 2.0 提供 SOAP WebServices 的 webapp。 WebService 请求需要使用在服务器上经过验证的证书进行签名。为了做到这一点 WSS4J 并使用了信任库 - 这里是 spring-config:
<bean class="org.springframework.ws.soap.security.wss4j.Wss4jSecurityInterceptor">
<property name="validationActions" value="Signature" />
<property name="validationSignatureCrypto">
<bean class="org.springframework.ws.soap.security.wss4j.support.CryptoFactoryBean">
<property name="keyStorePassword" value="pass"/>
<property name="keyStoreLocation" value="location"/>
</bean>
</property>
</bean>
应用程序应部署到 WebSphere 7,主要要求是,信任库不应随应用程序一起提供,而应由 Application Server 提供。 有人知道我可以如何实现,WebSphere 要么提供信任库,要么如何配置 WebSphere 以执行安全授权?主要的挑战似乎是,使用 Spring-WS 而不是使用 WebSphere 的 WebServices 工具......
【问题讨论】:
标签: web-services websphere ws-security spring-ws truststore