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 CD88D200CF7 for ; Tue, 19 Sep 2017 11:46:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CBB871609E1; Tue, 19 Sep 2017 09:46:04 +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 1E4771609DB for ; Tue, 19 Sep 2017 11:46:03 +0200 (CEST) Received: (qmail 25937 invoked by uid 500); 19 Sep 2017 09:46:03 -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 25925 invoked by uid 99); 19 Sep 2017 09:46:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2017 09:46:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id AE80ECB93B for ; Tue, 19 Sep 2017 09:46:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id o-9xeS46mElb for ; Tue, 19 Sep 2017 09:46:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 0F2225FBE5 for ; Tue, 19 Sep 2017 09:46:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 447D6E0F67 for ; Tue, 19 Sep 2017 09:46:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 86D98244F4 for ; Tue, 19 Sep 2017 09:46:00 +0000 (UTC) Date: Tue, 19 Sep 2017 09:46:00 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CXF-7505) Oauth2 keystore loading inconsistent with jwt keys MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 19 Sep 2017 09:46:05 -0000 [ https://issues.apache.org/jira/browse/CXF-7505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sergey Beryozkin resolved CXF-7505. ----------------------------------- Resolution: Fixed Assignee: Sergey Beryozkin Fix Version/s: 3.2.1 3.1.14 I've added few checks; longer term loading of the various stores would ideally be consolidated > Oauth2 keystore loading inconsistent with jwt keys > -------------------------------------------------- > > Key: CXF-7505 > URL: https://issues.apache.org/jira/browse/CXF-7505 > Project: CXF > Issue Type: Bug > Affects Versions: 3.2.0 > Reporter: Romain Manni-Bucau > Assignee: Sergey Beryozkin > Fix For: 3.1.14, 3.2.1 > > > org.apache.cxf.rs.security.jose.common.KeyManagementUtils#loadPersistKeyStore set a keystore in the exchange and org.apache.cxf.rs.security.jose.jwk.JwkUtils#loadJwkSet(org.apache.cxf.message.Message, java.util.Properties, org.apache.cxf.rs.security.jose.common.PrivateKeyPasswordProvider) loads JsonWebKeys which can lead to classcastexception -- This message was sent by Atlassian JIRA (v6.4.14#64029)