Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 452F6200B9D for ; Thu, 13 Oct 2016 16:04:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 43DA6160AF6; Thu, 13 Oct 2016 14:04:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 90F34160AE4 for ; Thu, 13 Oct 2016 16:04:21 +0200 (CEST) Received: (qmail 42653 invoked by uid 500); 13 Oct 2016 14:04:20 -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 42624 invoked by uid 99); 13 Oct 2016 14:04:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2016 14:04:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 716352C4C72 for ; Thu, 13 Oct 2016 14:04:20 +0000 (UTC) Date: Thu, 13 Oct 2016 14:04:20 +0000 (UTC) From: "Grzegorz Maczuga (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-7088) SignedEncryptedSupportingTokens in WS-Policy and SAML not encrypted being accepted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 13 Oct 2016 14:04:22 -0000 [ https://issues.apache.org/jira/browse/CXF-7088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15572015#comment-15572015 ] Grzegorz Maczuga commented on CXF-7088: --------------------------------------- That is highly possible! Please close it. Thanks Colm. Greg > SignedEncryptedSupportingTokens in WS-Policy and SAML not encrypted being accepted > ---------------------------------------------------------------------------------- > > Key: CXF-7088 > URL: https://issues.apache.org/jira/browse/CXF-7088 > Project: CXF > Issue Type: Bug > Affects Versions: 3.0.6 > Reporter: Grzegorz Maczuga > Assignee: Colm O hEigeartaigh > Attachments: message_anonymous.txt, policy.txt > > > In WS-Policy that is used by service we have defined > > Some people say that WS-SecurityPolicy 1.2 imply that also SAML assertion that is inside WS-Security section of the message SOAP Header should be encrypted (not only signed). > Message with SAML that is NOT encrypted is currently accepted by CXF even while policy defines > Question is: does SAML assertion fall into "SupportingTokens" category and should be encrypted as well? > What is your view on that? Is that a bug in Neethi? > See http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702/ws-securitypolicy-1.2-spec-os.html#_Toc161826566 > Signed, encrypted supporting tokens are Signed supporting tokens (See section 8.2) that are also encrypted when they appear in the wsse:SecurityHeader. Element Encryption SHOULD be used for encrypting the supporting tokens. > The syntax for the sp:SignedEncryptedSupportingTokens differs from the syntax of sp:SignedSupportingTokens only in the name of the assertion itself. All nested policy is as per the sp:SignedSupportingTokens assertion. -- This message was sent by Atlassian JIRA (v6.3.4#6332)