none
Configure web service with both a Username Token and an x509 certificate using SVCConfigEditor RRS feed

  • Question

  • Using the SVCConfigEditor, is it possible to configure a web service with both a Username Token and an x509 certificate ?

    Is the following wsdl helpful in this interop scenario with an IBM Websphere web service?

    Thank you, 

    Greg

     <wsp:Policy wsu:Id="policy0" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <wsp:ExactlyOne>
          <wsp:All>
            <sp:AsymmetricBinding xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
              <wsp:Policy>
                <wsp:ExactlyOne>
                  <wsp:All>
                    <sp:InitiatorToken>
                      <wsp:Policy>
                        <wsp:ExactlyOne>
                          <wsp:All>
                            <sp:X509Token>
                              <wsp:Policy>
                                <wsp:ExactlyOne>
                                  <wsp:All>
                                    <sp:WssX509V3Token11 />
                                  </wsp:All>
                                </wsp:ExactlyOne>
                              </wsp:Policy>
                            </sp:X509Token>
                          </wsp:All>
                        </wsp:ExactlyOne>
                      </wsp:Policy>
                    </sp:InitiatorToken>
                    <sp:RecipientToken>
                      <wsp:Policy>
                        <wsp:ExactlyOne>
                          <wsp:All>
                            <sp:X509Token>
                              <wsp:Policy>
                                <wsp:ExactlyOne>
                                  <wsp:All>
                                    <sp:WssX509V3Token11 />
                                  </wsp:All>
                                </wsp:ExactlyOne>
                              </wsp:Policy>
                            </sp:X509Token>
                          </wsp:All>
                        </wsp:ExactlyOne>
                      </wsp:Policy>
                    </sp:RecipientToken>
                    <sp:AlgorithmSuite>
                      <wsp:Policy>
                        <wsp:ExactlyOne>
                          <wsp:All>
                            <sp:TripleDesRsa15 />
                          </wsp:All>
                        </wsp:ExactlyOne>
                      </wsp:Policy>
                    </sp:AlgorithmSuite>
                  </wsp:All>
                </wsp:ExactlyOne>
              </wsp:Policy>
            </sp:AsymmetricBinding>
            <sp:SignedParts xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
              <sp:Body />
            </sp:SignedParts>
            <sp:EncryptedParts xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
              <sp:Body />
            </sp:EncryptedParts>
          </wsp:All>
        </wsp:ExactlyOne>
      </wsp:Policy>
      <wsp:Policy wsu:Id="policy1" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
        <wsp:ExactlyOne>
          <wsp:All>
            <dpe:summary xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:dpe="http://www.datapower.com/extensions">
              <dppolicy:domain xmlns:dppolicy="http://www.datapower.com/policy">
          http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702
        </dppolicy:domain>
              <description>
          Implements WS Security Policy 1.2 - UsernameToken 1.0 support
        </description>
            </dpe:summary>
            <sp:SupportingTokens xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702">
              <wsp:Policy>
                <wsp:ExactlyOne>
                  <wsp:All>
                    <sp:UsernameToken sp:IncludeToken="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/IncludeToken/AlwaysToRecipient">
                      <wsp:Policy>
                        <wsp:ExactlyOne>
                          <wsp:All>
                            <sp:WssUsernameToken10 />
                          </wsp:All>
                        </wsp:ExactlyOne>
                      </wsp:Policy>
                    </sp:UsernameToken>
                  </wsp:All>
                </wsp:ExactlyOne>
              </wsp:Policy>
            </sp:SupportingTokens>
          </wsp:All>
        </wsp:ExactlyOne>
      </wsp:Policy>




    • Edited by hazz Monday, July 22, 2013 9:26 PM edit
    Monday, July 22, 2013 8:02 PM

Answers

All replies