You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2017/08/28 12:46:01 UTC
[jira] [Resolved] (SANTUARIO-469) How do enable "secure validation"
property in stax
[ https://issues.apache.org/jira/browse/SANTUARIO-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh resolved SANTUARIO-469.
-------------------------------------------
Resolution: Not A Problem
> How do enable "secure validation" property in stax
> ---------------------------------------------------
>
> Key: SANTUARIO-469
> URL: https://issues.apache.org/jira/browse/SANTUARIO-469
> Project: Santuario
> Issue Type: Wish
> Components: Java
> Affects Versions: Java 2.0.8
> Reporter: Manjesh Kumar
> Assignee: Colm O hEigeartaigh
> Priority: Minor
>
> Hi,
> I am seeking help how to enable "secure validation" property in stax implementation. I have searched on web but couldn't find a way to enable it by using santurio stax api.
> Though I found how to do it in santurio DOM api.
> {code:java}
> XMLValidateContext context = new DOMValidateContext(key, elem);
> context.setProperty("org.apache.jcp.xml.dsig.secureValidation", Boolean.TRUE);
> {code}
> Thanks,
> Manjesh
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)