RFR: 8301260: Add system property to toggle XML Signature secure validation mode
Sean Mullan
mullan at openjdk.org
Thu Feb 2 17:34:25 UTC 2023
On Thu, 2 Feb 2023 17:00:36 GMT, Sean Coffey <coffeys at openjdk.org> wrote:
>> This change adds a system property that can be used to enable/disable the XML Signature secure validation mode. This is useful for enabling/disabling the mode at runtime. The system property will supersede and have the same name as the XMLCryptoContext property that can be used to enable/disable the mode: "org.jcp.xml.dsig.secureValidation".
>
> test/jdk/javax/xml/crypto/dsig/SecureValidationSystemProperty.java line 38:
>
>> 36: * @library /test/lib
>> 37: * @run main/othervm -Dorg.jcp.xml.dsig.secureValidation=false SecureValidationSystemProperty
>> 38: */
>
> the jtreg syntax seems to be repeated here.
I believe this is now the preferred way to run multiple tests, so that all tests are run even if prior ones fail. It would be nice to establish a best practice on this and update the Developer's Guide. @rhalade is that something you could work with @JesperIRL on?
-------------
PR: https://git.openjdk.org/jdk/pull/12365
More information about the security-dev
mailing list