Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3960

Patch for InitiatorSignatureToken Support in WS-Policy definition

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.4
    • 2.4.5, 2.5.1
    • WS-* Components
    • CXF supported environments

    • Unknown

    Description

      This patch adds support for InitiatorSignatureToken assertion. Support for IntiatorEncryptionToken and corresponding recipient tokens will be added subsequently.
      Here's an example of supported policy definition:

       
      <sp:AsymmetricBinding>
        <wsp:Policy>
          <sp:InitiatorSignatureToken>
            <wsp:Policy>
      	<sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">			
      	  <wsp:Policy>
      	    <sp:RequireThumbprintReference/>
      	    <sp:WssX509V3Token10/>
      	  </wsp:Policy>	
      	</sp:X509Token>
      	</wsp:Policy>
          </sp:InitiatorSignatureToken>
          <sp:RecipientToken>
            <wsp:Policy>
      	<sp:X509Token sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/Always">	
      	  <wsp:Policy>
      	    <sp:RequireThumbprintReference/>
      	    <sp:WssX509V3Token10/>
      	  </wsp:Policy>								
      	</sp:X509Token>
            </wsp:Policy>
          </sp:RecipientToken>
          <sp:AlgorithmSuite>
            <wsp:Policy>
      	<sp:TripleDesRsa15/>			
      	</wsp:Policy>
          </sp:AlgorithmSuite>
          <sp:Layout>
            <wsp:Policy>
      	<sp:Lax />
            </wsp:Policy>
          </sp:Layout>		
          <sp:IncludeTimestamp/>			
          <sp:OnlySignEntireHeadersAndBody />						
        </wsp:Policy>					
      </sp:AsymmetricBinding>
      

      Attachments

        1. patch.txt
          23 kB
          Vinay Penmatsa

        Activity

          People

            coheigea Colm O hEigeartaigh
            vpenmatsa Vinay Penmatsa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: