2
我正在通过WSS4JSecurityInterceptor使用Spring WS Security。 Howvever在验证签名的同时需要读取密钥库密码。如何在WSS4J中使用加密密码Spring Security
密钥库密码将被加密。在验证签名之前,请让我知道如何解密它?
我的配置是如下:
<bean id="wsSecurityInterceptor" 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="123456"/>
<property name="keyStoreLocation" value="classpath:/keystore.jks"/>
</bean>
</property>
</bean>
感谢