高级WSSecurityAction有两个签名

问题描述:

我需要提供时间戳和两栋标志性动作各具特色, 当我们将两个签名也只了解第一 我们如何能够在CXF处理呢? 高级WSSecurityAction有两个签名

我们应该提供自定义操作

http://cxf.apache.org/docs/ws-security.html

<constructor-arg> 
      <map> 
       <entry key="action" value="Timestamp Signature 12345"/>    
       <entry key="wss4j.action.map"> 
       <map key-type="java.lang.Integer" value-type="java.lang.Object"> 
         <entry key="12345" value-ref="customSignature"/> 
       </map> 
       </entry> 

,我们应该创建一个类

CustomSignatureAction extends SignatureAction { 

和覆盖特征与拳头签名

其不同