You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Anli Shundi (JIRA)" <ji...@apache.org> on 2011/05/04 23:57:03 UTC
[jira] [Created] (WSS-283) ClassCastException when signing message
with existing WSSE header containing Text as first child
ClassCastException when signing message with existing WSSE header containing Text as first child
------------------------------------------------------------------------------------------------
Key: WSS-283
URL: https://issues.apache.org/jira/browse/WSS-283
Project: WSS4J
Issue Type: Bug
Components: WSS4J Handlers
Affects Versions: 1.6
Reporter: Anli Shundi
Assignee: Colm O hEigeartaigh
Fix For: 1.6.1
WSSecSignature doesn't expect that a text node might be the first child of securityHeader...
Will submit a patch.
org.apache.ws.security.WSSecurityException: Signature creation failed; nested exception is:
java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:515)
at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:442)
at org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:348)
...
Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:487)
... 24 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[jira] [Updated] (WSS-283) ClassCastException when signing message
with existing WSSE header containing Text as first child
Posted by "Anli Shundi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anli Shundi updated WSS-283:
----------------------------
Attachment: wss-283.patch
> ClassCastException when signing message with existing WSSE header containing Text as first child
> ------------------------------------------------------------------------------------------------
>
> Key: WSS-283
> URL: https://issues.apache.org/jira/browse/WSS-283
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Handlers
> Affects Versions: 1.6
> Reporter: Anli Shundi
> Assignee: Colm O hEigeartaigh
> Fix For: 1.6.1
>
> Attachments: wss-283.patch
>
>
> WSSecSignature doesn't expect that a text node might be the first child of securityHeader...
> Will submit a patch.
> org.apache.ws.security.WSSecurityException: Signature creation failed; nested exception is:
> java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:515)
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:442)
> at org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:348)
> ...
> Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:487)
> ... 24 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[jira] [Resolved] (WSS-283) ClassCastException when signing message
with existing WSSE header containing Text as first child
Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh resolved WSS-283.
-------------------------------------
Resolution: Fixed
> ClassCastException when signing message with existing WSSE header containing Text as first child
> ------------------------------------------------------------------------------------------------
>
> Key: WSS-283
> URL: https://issues.apache.org/jira/browse/WSS-283
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Handlers
> Affects Versions: 1.6
> Reporter: Anli Shundi
> Assignee: Colm O hEigeartaigh
> Fix For: 1.6.1
>
> Attachments: wss-283.patch
>
>
> WSSecSignature doesn't expect that a text node might be the first child of securityHeader...
> Will submit a patch.
> org.apache.ws.security.WSSecurityException: Signature creation failed; nested exception is:
> java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:515)
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:442)
> at org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:348)
> ...
> Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:487)
> ... 24 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[jira] [Updated] (WSS-283) ClassCastException when signing message
with existing WSSE header containing Text as first child
Posted by "Anli Shundi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anli Shundi updated WSS-283:
----------------------------
Attachment: wss-283.patch
> ClassCastException when signing message with existing WSSE header containing Text as first child
> ------------------------------------------------------------------------------------------------
>
> Key: WSS-283
> URL: https://issues.apache.org/jira/browse/WSS-283
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Handlers
> Affects Versions: 1.6
> Reporter: Anli Shundi
> Assignee: Colm O hEigeartaigh
> Fix For: 1.6.1
>
> Attachments: wss-283.patch
>
>
> WSSecSignature doesn't expect that a text node might be the first child of securityHeader...
> Will submit a patch.
> org.apache.ws.security.WSSecurityException: Signature creation failed; nested exception is:
> java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:515)
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:442)
> at org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:348)
> ...
> Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:487)
> ... 24 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[jira] [Closed] (WSS-283) ClassCastException when signing message
with existing WSSE header containing Text as first child
Posted by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh closed WSS-283.
-----------------------------------
> ClassCastException when signing message with existing WSSE header containing Text as first child
> ------------------------------------------------------------------------------------------------
>
> Key: WSS-283
> URL: https://issues.apache.org/jira/browse/WSS-283
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Handlers
> Affects Versions: 1.6
> Reporter: Anli Shundi
> Assignee: Colm O hEigeartaigh
> Fix For: 1.6.1
>
> Attachments: wss-283.patch
>
>
> WSSecSignature doesn't expect that a text node might be the first child of securityHeader...
> Will submit a patch.
> org.apache.ws.security.WSSecurityException: Signature creation failed; nested exception is:
> java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:515)
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:442)
> at org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:348)
> ...
> Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:487)
> ... 24 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[jira] [Updated] (WSS-283) ClassCastException when signing message
with existing WSSE header containing Text as first child
Posted by "Anli Shundi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WSS-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anli Shundi updated WSS-283:
----------------------------
Attachment: (was: wss-283.patch)
> ClassCastException when signing message with existing WSSE header containing Text as first child
> ------------------------------------------------------------------------------------------------
>
> Key: WSS-283
> URL: https://issues.apache.org/jira/browse/WSS-283
> Project: WSS4J
> Issue Type: Bug
> Components: WSS4J Handlers
> Affects Versions: 1.6
> Reporter: Anli Shundi
> Assignee: Colm O hEigeartaigh
> Fix For: 1.6.1
>
>
> WSSecSignature doesn't expect that a text node might be the first child of securityHeader...
> Will submit a patch.
> org.apache.ws.security.WSSecurityException: Signature creation failed; nested exception is:
> java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:515)
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:442)
> at org.apache.ws.security.message.WSSecSignature.build(WSSecSignature.java:348)
> ...
> Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl cannot be cast to org.w3c.dom.Element
> at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:487)
> ... 24 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org