You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Michal Sabo (JIRA)" <ji...@apache.org> on 2015/12/17 11:35:46 UTC

[jira] [Updated] (CXF-6715) SAMLProtocolResponseValidator fails to decrypt an assertion

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

Michal Sabo updated CXF-6715:
-----------------------------
    Summary: SAMLProtocolResponseValidator fails to decrypt an assertion  (was: SAMLProtocolResponseValidator fails to decrypt assertion)

> SAMLProtocolResponseValidator fails to decrypt an assertion
> -----------------------------------------------------------
>
>                 Key: CXF-6715
>                 URL: https://issues.apache.org/jira/browse/CXF-6715
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS Security
>    Affects Versions: 3.0.7
>            Reporter: Michal Sabo
>
> During the decryption of the SAML assertion a WSSecurityException exception is thrown for specific IDPs, when it fails to load X509 certificate for an EncryptedKey element (org.apache.cxf.rs.security.saml.sso.SAMLProtocolResponseValidator:451). However, it seems that the EncryptedKey element is correct according to the XML Encryption Syntax schema.
> This is the problematic containment of the EncryptedKey element:
> <xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Id="id-dG6qwCA9nALpsqno8mQK3XEyx2c-"><xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-1_5"/><xenc:CipherData><xenc:CipherValue>U4sqaCa/VuWVwBDuGXLwu8mzjVW6iJ1+GUEpyGFWE/gfXJ0hWFOu/Y+1qSjNweyEaRPimjppGMMqD9HBV0ieGazKNXftSGSoRoUXC+Uq1F9BVN5f5HgF5Ga/z2MYCfDaItQuMVuar53CBSxTPkRmgU/Pej8C5kpJNRS029FxWAYeHlTB03YqjR0xFFEhqf2vRzQjX5IglOQP7rSKeQhgacmkVz3/r3TA6JeCZ9TBDb5xIPNq7kJYn8jZYpGV/iV68cPBdjDmcva3E6NVCK4D/Sa3biV8fBFxvvIBoXeCRXwNwnqoowrqUxSb+qCtYxeuV+BVLe1OrDuqrzkipRiAIw==</xenc:CipherValue></xenc:CipherData><xenc:ReferenceList><xenc:DataReference URI="#id-23qweVuzWC19vHEC-8kpWmk-4bY-"/></xenc:ReferenceList></xenc:EncryptedKey>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)