You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Stefan Vladov (JIRA)" <ji...@apache.org> on 2008/07/07 12:39:31 UTC

[jira] Created: (RAMPART-181) OptimizePartsConfig does not open namespace tag when serializing the assertion

OptimizePartsConfig does not open namespace tag when serializing the assertion
------------------------------------------------------------------------------

                 Key: RAMPART-181
                 URL: https://issues.apache.org/jira/browse/RAMPART-181
             Project: Rampart
          Issue Type: Bug
          Components: rampart-core
    Affects Versions: 1.4
         Environment: any
            Reporter: Stefan Vladov
            Assignee: Ruchith Udayanga Fernando
            Priority: Minor
             Fix For: 1.4


In rampart-core org.apache.rampart.policy.model.OptimizePartsConfig, when serializing the list of namespaces the xml stream writer forgets to open the namespace tag and the serialize methods naturally throws a XMLStreamException... not that I will ever use this... just noticed it accidentally :)

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


[jira] Updated: (RAMPART-181) OptimizePartsConfig does not open namespace tag when serializing the assertion

Posted by "Stefan Vladov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAMPART-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Vladov updated RAMPART-181:
----------------------------------

    Attachment: rampart-OptimizePartsConfig.txt

> OptimizePartsConfig does not open namespace tag when serializing the assertion
> ------------------------------------------------------------------------------
>
>                 Key: RAMPART-181
>                 URL: https://issues.apache.org/jira/browse/RAMPART-181
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core
>    Affects Versions: 1.4
>         Environment: any
>            Reporter: Stefan Vladov
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: rampart-OptimizePartsConfig.txt
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> In rampart-core org.apache.rampart.policy.model.OptimizePartsConfig, when serializing the list of namespaces the xml stream writer forgets to open the namespace tag and the serialize methods naturally throws a XMLStreamException... not that I will ever use this... just noticed it accidentally :)

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


[jira] Updated: (RAMPART-181) OptimizePartsConfig does not open namespace tag when serializing the assertion

Posted by "Stefan Vladov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAMPART-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Vladov updated RAMPART-181:
----------------------------------

    Attachment:     (was: rampart-OptimizePartsConfig.txt)

> OptimizePartsConfig does not open namespace tag when serializing the assertion
> ------------------------------------------------------------------------------
>
>                 Key: RAMPART-181
>                 URL: https://issues.apache.org/jira/browse/RAMPART-181
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core
>    Affects Versions: 1.4
>         Environment: any
>            Reporter: Stefan Vladov
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Minor
>             Fix For: 1.4
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> In rampart-core org.apache.rampart.policy.model.OptimizePartsConfig, when serializing the list of namespaces the xml stream writer forgets to open the namespace tag and the serialize methods naturally throws a XMLStreamException... not that I will ever use this... just noticed it accidentally :)

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


[jira] Updated: (RAMPART-181) OptimizePartsConfig does not open namespace tag when serializing the assertion

Posted by "Stefan Vladov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/RAMPART-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Vladov updated RAMPART-181:
----------------------------------

    Attachment: rampart-core_configbuilder.txt

Sorry it seems the previous patch generated by eclipse included the project name as well (since it was relative to my workspace... )

Indeed it seems the decryption crypto is not used - when the rampart engine calls the WSSecurityEngine#processSecurityHeader it passes the encryption crypto config to be used for decrypting the message...

> OptimizePartsConfig does not open namespace tag when serializing the assertion
> ------------------------------------------------------------------------------
>
>                 Key: RAMPART-181
>                 URL: https://issues.apache.org/jira/browse/RAMPART-181
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core
>    Affects Versions: 1.4
>         Environment: any
>            Reporter: Stefan Vladov
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: rampart-core_configbuilder.txt
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> In rampart-core org.apache.rampart.policy.model.OptimizePartsConfig, when serializing the list of namespaces the xml stream writer forgets to open the namespace tag and the serialize methods naturally throws a XMLStreamException... not that I will ever use this... just noticed it accidentally :)

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


[jira] Commented: (RAMPART-181) OptimizePartsConfig does not open namespace tag when serializing the assertion

Posted by "Stefan Vladov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAMPART-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12610953#action_12610953 ] 

Stefan Vladov commented on RAMPART-181:
---------------------------------------

Btw while on the topic... I noticed that the rampart config builder does not try to deserialize the token storage class setting and the decryption crypto config - is this intentional? If not I could add them and attach the patch here?

> OptimizePartsConfig does not open namespace tag when serializing the assertion
> ------------------------------------------------------------------------------
>
>                 Key: RAMPART-181
>                 URL: https://issues.apache.org/jira/browse/RAMPART-181
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core
>    Affects Versions: 1.4
>         Environment: any
>            Reporter: Stefan Vladov
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: rampart-OptimizePartsConfig.txt
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> In rampart-core org.apache.rampart.policy.model.OptimizePartsConfig, when serializing the list of namespaces the xml stream writer forgets to open the namespace tag and the serialize methods naturally throws a XMLStreamException... not that I will ever use this... just noticed it accidentally :)

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


[jira] Commented: (RAMPART-181) OptimizePartsConfig does not open namespace tag when serializing the assertion

Posted by "Dimuthu Leelarathne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/RAMPART-181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611118#action_12611118 ] 

Dimuthu Leelarathne commented on RAMPART-181:
---------------------------------------------

Token Storage class should be de-serialized. But I am not sure whether decryption crypto is being used. But I don't see any harm in deserializing them. You can also attach the patch for OptimizePartsConfig


Thank you,
Dimuthu

> OptimizePartsConfig does not open namespace tag when serializing the assertion
> ------------------------------------------------------------------------------
>
>                 Key: RAMPART-181
>                 URL: https://issues.apache.org/jira/browse/RAMPART-181
>             Project: Rampart
>          Issue Type: Bug
>          Components: rampart-core
>    Affects Versions: 1.4
>         Environment: any
>            Reporter: Stefan Vladov
>            Assignee: Ruchith Udayanga Fernando
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: rampart-OptimizePartsConfig.txt
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> In rampart-core org.apache.rampart.policy.model.OptimizePartsConfig, when serializing the list of namespaces the xml stream writer forgets to open the namespace tag and the serialize methods naturally throws a XMLStreamException... not that I will ever use this... just noticed it accidentally :)

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