JDK-8223916 : Add API to set XML DSig secure validation mode
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: javax.xml.crypto
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2019-05-14
  • Updated: 2022-05-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
Currently, to set the secure validation mode, one must set a property on the DOMValidateContext as follows:

  valContext.setProperty("org.jcp.xml.dsig.secureValidation", true);

There should be an easier way to do this via a standard API, example a setSecureValidation() method.