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 "Fred Dushin (JIRA)" <ji...@apache.org> on 2008/04/10 20:48:05 UTC

[jira] Commented: (WSS-93) xmlsec NPE on Reference URI and ValueType attributes

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

Fred Dushin commented on WSS-93:
--------------------------------

I applied your first patch, which includes changes to the getAttribute calls on the Element, and that seems to work fine in the WSS4J tests.  Please advise if you know of other areas your first patch may break (e.g., outside of WSS4J)

I'll commit the patch without a test case, as the code is hit many times in the WSS4J tests.

> xmlsec NPE on Reference URI and ValueType attributes
> ----------------------------------------------------
>
>                 Key: WSS-93
>                 URL: https://issues.apache.org/jira/browse/WSS-93
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Frank Cornelis
>            Assignee: Ruchith Udayanga Fernando
>         Attachments: Reference-attribute-NS-2.patch, Reference-attribute-NS.patch
>
>
> Because the URI and ValueType attributes on the Reference are set via setAttribute instead of setAttributeNS, I'm triggering an NPE when validating the signature manually via xmlsec (using a JAX-WS SOAP handler).

-- 
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