You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2013/06/11 11:28:20 UTC

[jira] [Resolved] (WSS-450) Inbound Processing code fails with an Encrypted Signature

     [ https://issues.apache.org/jira/browse/WSS-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh resolved WSS-450.
-------------------------------------

    Resolution: Fixed
      Assignee: Marc Giger

Fix confirmed, thanks.

Colm.
                
> Inbound Processing code fails with an Encrypted Signature
> ---------------------------------------------------------
>
>                 Key: WSS-450
>                 URL: https://issues.apache.org/jira/browse/WSS-450
>             Project: WSS4J
>          Issue Type: Bug
>            Reporter: Colm O hEigeartaigh
>            Assignee: Marc Giger
>             Fix For: 2.0
>
>
> The streaming inbound processing case fails on a message like the below (generated using the streaming code, with an Asymmetric Binding + sp:EncryptSignature):
> BinarySecurityToken
> EncryptedKey (ref BST above)
> EncryptedData (encrypted Sig, ref EncryptedKey above)
> BinarySecurityToken (referenced via the encrypted Signature)
> (Encrypted/signed SOAP Body)
> Error is: 
> java.lang.IllegalStateException: javax.xml.stream.XMLStreamException: org.apache.wss4j.common.ext.WSSecurityException: Referenced Token "G3618ed5a-e569-4fd6-af3b-6255353dd2b7" not found
>         at org.apache.xml.security.stax.impl.XMLSecurityStreamReader.getEventType(XMLSecurityStreamReader.java:386)
> Can the Signature processing code not find a signing BST if it is after the Signature?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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