[ 
https://issues.apache.org/jira/browse/WSS-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17921395#comment-17921395
 ] 

Colm O hEigeartaigh commented on WSS-715:
-----------------------------------------

[~ema] The relevant line is here 
[https://github.com/apache/ws-wss4j/blob/06615018519ec50913bf91a01c579ab1e5b3e35e/ws-security-dom/src/main/java/org/apache/wss4j/dom/processor/SignatureProcessor.java#L107]

It "prefers" ApacheXMLDSig and so the Santuario line break parameter is used 
and not the JDK. If you look at the WSS4J unit tests or CXF the line breaks do 
not appear and so I think this Jira is invalid.

> Set com.sun.org.apache.xml.internal.security.ignoreLineBreaks to the JDK 
> provider
> ---------------------------------------------------------------------------------
>
>                 Key: WSS-715
>                 URL: https://issues.apache.org/jira/browse/WSS-715
>             Project: WSS4J
>          Issue Type: Improvement
>          Components: WSS4J Core
>    Affects Versions: 2.3.4, 2.4.3, 3.0.4
>            Reporter: Jim Ma
>            Assignee: Colm O hEigeartaigh
>            Priority: Major
>             Fix For: 2.3.5, 4.0.0, 2.4.4, 3.0.5
>
>
> After https://issues.apache.org/jira/browse/WSS-661,the Provider like
> org.apache.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactor will be inserted 
> after
> org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory from JDK, hence the 
> "com.sun.org.apache.xml.internal.security.ignoreLineBreaks" property should 
> be set explicitly as this JDK Provider will be selected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ws.apache.org
For additional commands, e-mail: dev-h...@ws.apache.org

Reply via email to