Uploaded image for project: 'WSS4J'
  1. WSS4J
  2. WSS-670

Expected signature algorithm is overwriten with default in case of DSA and EC Keys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.5
    • 2.3.0, 2.2.6
    • WSS4J Core
    • None
    • Important

    Description

      The SamlAssertionWrapper support the signing with a dedicated signature Algorithm.

      org.apache.wss4j.common.saml.SamlAssertionWrapper.signAssertion(String, String, Crypto, boolean, String, String)
      

      If signing is requested with signature method http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256, the SAML Assertion afterwards has:

      Current behavior:
      <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"/>

      Expected behavior:
      <ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"/>

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            thopap Thomas Papke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: