Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F4D318C52 for ; Thu, 17 Dec 2015 10:34:47 +0000 (UTC) Received: (qmail 91845 invoked by uid 500); 17 Dec 2015 10:34:47 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 91755 invoked by uid 500); 17 Dec 2015 10:34:47 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 91499 invoked by uid 99); 17 Dec 2015 10:34:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2015 10:34:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C7D602C1F7C for ; Thu, 17 Dec 2015 10:34:46 +0000 (UTC) Date: Thu, 17 Dec 2015 10:34:46 +0000 (UTC) From: "Michal Sabo (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-6715) SAMLProtocolResponseValidator fails to decrypt assertion MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Michal Sabo created CXF-6715: -------------------------------- Summary: SAMLProtocolResponseValidator fails to decrypt 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: U4sqaCa/VuWVwBDuGXLwu8mzjVW6iJ1+GUEpyGFWE/gfXJ0hWFOu/Y+1qSjNweyEaRPimjppGMMqD9HBV0ieGazKNXftSGSoRoUXC+Uq1F9BVN5f5HgF5Ga/z2MYCfDaItQuMVuar53CBSxTPkRmgU/Pej8C5kpJNRS029FxWAYeHlTB03YqjR0xFFEhqf2vRzQjX5IglOQP7rSKeQhgacmkVz3/r3TA6JeCZ9TBDb5xIPNq7kJYn8jZYpGV/iV68cPBdjDmcva3E6NVCK4D/Sa3biV8fBFxvvIBoXeCRXwNwnqoowrqUxSb+qCtYxeuV+BVLe1OrDuqrzkipRiAIw== -- This message was sent by Atlassian JIRA (v6.3.4#6332)