You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by "Abdelaziz Samari (JIRA)" <ji...@apache.org> on 2007/10/18 13:48:50 UTC

[jira] Created: (WSS-91) carriage return/line feed in the security header

carriage return/line feed in the security header
------------------------------------------------

                 Key: WSS-91
                 URL: https://issues.apache.org/jira/browse/WSS-91
             Project: WSS4J
          Issue Type: Wish
            Reporter: Abdelaziz Samari
            Assignee: Ruchith Udayanga Fernando


Hi All,

i have the problem that my soap message my not contain carriage return/line feed characters. 
So my question/wish is how to insert a  security header without such characters.


Thanks for any help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Closed: (WSS-91) carriage return/line feed in the security header

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh closed WSS-91.
----------------------------------


> carriage return/line feed in the security header
> ------------------------------------------------
>
>                 Key: WSS-91
>                 URL: https://issues.apache.org/jira/browse/WSS-91
>             Project: WSS4J
>          Issue Type: Wish
>    Affects Versions: 1.5.4
>            Reporter: Abdelaziz Samari
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.5.5
>
>
> Hi All,
> i have the problem that my soap message my not contain carriage return/line feed characters. 
> So my question/wish is how to insert a  security header without such characters.
> Thanks for any help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Closed: (WSS-91) carriage return/line feed in the security header

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh closed WSS-91.
----------------------------------


> carriage return/line feed in the security header
> ------------------------------------------------
>
>                 Key: WSS-91
>                 URL: https://issues.apache.org/jira/browse/WSS-91
>             Project: WSS4J
>          Issue Type: Wish
>    Affects Versions: 1.5.4
>            Reporter: Abdelaziz Samari
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.5.5
>
>
> Hi All,
> i have the problem that my soap message my not contain carriage return/line feed characters. 
> So my question/wish is how to insert a  security header without such characters.
> Thanks for any help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Reopened: (WSS-91) carriage return/line feed in the security header

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh reopened WSS-91:
------------------------------------



Thanks Werner, I'll have a look at that as well.

> carriage return/line feed in the security header
> ------------------------------------------------
>
>                 Key: WSS-91
>                 URL: https://issues.apache.org/jira/browse/WSS-91
>             Project: WSS4J
>          Issue Type: Wish
>    Affects Versions: 1.5.4
>            Reporter: Abdelaziz Samari
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.5.5
>
>
> Hi All,
> i have the problem that my soap message my not contain carriage return/line feed characters. 
> So my question/wish is how to insert a  security header without such characters.
> Thanks for any help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (WSS-91) carriage return/line feed in the security header

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved WSS-91.
------------------------------------

    Resolution: Fixed


Marking this as fixed. The user must set the relevant system property to remove newlines from xml-sec generated xml, which isn't ideal, but this might get fixed in a subsequent version of xml-sec.

> carriage return/line feed in the security header
> ------------------------------------------------
>
>                 Key: WSS-91
>                 URL: https://issues.apache.org/jira/browse/WSS-91
>             Project: WSS4J
>          Issue Type: Wish
>    Affects Versions: 1.5.4
>            Reporter: Abdelaziz Samari
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.5.5
>
>
> Hi All,
> i have the problem that my soap message my not contain carriage return/line feed characters. 
> So my question/wish is how to insert a  security header without such characters.
> Thanks for any help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (WSS-91) carriage return/line feed in the security header

Posted by "Werner Dittmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658090#action_12658090 ] 

Werner Dittmann commented on WSS-91:
------------------------------------

Regarding newline in xmlsec signature:

xml-sec uses the Java system property

  org.apache.xml.security.ignoreLineBreaks=false

to control the use of newlines.

Regards,
Werner





> carriage return/line feed in the security header
> ------------------------------------------------
>
>                 Key: WSS-91
>                 URL: https://issues.apache.org/jira/browse/WSS-91
>             Project: WSS4J
>          Issue Type: Wish
>    Affects Versions: 1.5.4
>            Reporter: Abdelaziz Samari
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.5.5
>
>
> Hi All,
> i have the problem that my soap message my not contain carriage return/line feed characters. 
> So my question/wish is how to insert a  security header without such characters.
> Thanks for any help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (WSS-91) carriage return/line feed in the security header

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh reassigned WSS-91:
--------------------------------------

    Assignee: Colm O hEigeartaigh  (was: Ruchith Udayanga Fernando)

> carriage return/line feed in the security header
> ------------------------------------------------
>
>                 Key: WSS-91
>                 URL: https://issues.apache.org/jira/browse/WSS-91
>             Project: WSS4J
>          Issue Type: Wish
>            Reporter: Abdelaziz Samari
>            Assignee: Colm O hEigeartaigh
>
> Hi All,
> i have the problem that my soap message my not contain carriage return/line feed characters. 
> So my question/wish is how to insert a  security header without such characters.
> Thanks for any help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (WSS-91) carriage return/line feed in the security header

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved WSS-91.
------------------------------------

    Resolution: Fixed

> carriage return/line feed in the security header
> ------------------------------------------------
>
>                 Key: WSS-91
>                 URL: https://issues.apache.org/jira/browse/WSS-91
>             Project: WSS4J
>          Issue Type: Wish
>    Affects Versions: 1.5.4
>            Reporter: Abdelaziz Samari
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.5.5
>
>
> Hi All,
> i have the problem that my soap message my not contain carriage return/line feed characters. 
> So my question/wish is how to insert a  security header without such characters.
> Thanks for any help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (WSS-91) carriage return/line feed in the security header

Posted by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WSS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590698#action_12590698 ] 

Nandana Mihindukulasooriya commented on WSS-91:
-----------------------------------------------

What is your scenario ? Is it something generic or something that is specific to your case. 

thanks,
nandana

> carriage return/line feed in the security header
> ------------------------------------------------
>
>                 Key: WSS-91
>                 URL: https://issues.apache.org/jira/browse/WSS-91
>             Project: WSS4J
>          Issue Type: Wish
>            Reporter: Abdelaziz Samari
>            Assignee: Ruchith Udayanga Fernando
>
> Hi All,
> i have the problem that my soap message my not contain carriage return/line feed characters. 
> So my question/wish is how to insert a  security header without such characters.
> Thanks for any help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Re: [jira] Updated: (WSS-91) carriage return/line feed in the security header

Posted by Werner Dittmann <We...@t-online.de>.
Regarding newline in xmlsec signature:

xml-sec uses the Java system property

  org.apache.xml.security.ignoreLineBreaks=false

to control the use of newlines.

Regards,
Werner


Colm O hEigeartaigh (JIRA) schrieb:
>      [ https://issues.apache.org/jira/browse/WSS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Colm O hEigeartaigh updated WSS-91:
> -----------------------------------
> 
>     Affects Version/s: 1.5.4
>         Fix Version/s: 1.5.5
> 
> 
> WSSecurityUtil#prependChildElement and appendChildElement have code like so:
> 
>  Node whitespaceText = doc.createTextNode("\n");
>  parent.appendChild(whitespaceText);
> 
> I'll fix this shortly. AFAIK xml-sec adds in newlines for the signature though, so you won't get a newline free security header in every circumstance.
> 
>> carriage return/line feed in the security header
>> ------------------------------------------------
>>
>>                 Key: WSS-91
>>                 URL: https://issues.apache.org/jira/browse/WSS-91
>>             Project: WSS4J
>>          Issue Type: Wish
>>    Affects Versions: 1.5.4
>>            Reporter: Abdelaziz Samari
>>            Assignee: Colm O hEigeartaigh
>>             Fix For: 1.5.5
>>
>>
>> Hi All,
>> i have the problem that my soap message my not contain carriage return/line feed characters. 
>> So my question/wish is how to insert a  security header without such characters.
>> Thanks for any help.
> 


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


[jira] Updated: (WSS-91) carriage return/line feed in the security header

Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WSS-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh updated WSS-91:
-----------------------------------

    Affects Version/s: 1.5.4
        Fix Version/s: 1.5.5


WSSecurityUtil#prependChildElement and appendChildElement have code like so:

 Node whitespaceText = doc.createTextNode("\n");
 parent.appendChild(whitespaceText);

I'll fix this shortly. AFAIK xml-sec adds in newlines for the signature though, so you won't get a newline free security header in every circumstance.

> carriage return/line feed in the security header
> ------------------------------------------------
>
>                 Key: WSS-91
>                 URL: https://issues.apache.org/jira/browse/WSS-91
>             Project: WSS4J
>          Issue Type: Wish
>    Affects Versions: 1.5.4
>            Reporter: Abdelaziz Samari
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.5.5
>
>
> Hi All,
> i have the problem that my soap message my not contain carriage return/line feed characters. 
> So my question/wish is how to insert a  security header without such characters.
> Thanks for any help.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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