Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.5
-
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"/>