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 C9664F8D2 for ; Tue, 23 Apr 2013 10:13:21 +0000 (UTC) Received: (qmail 18250 invoked by uid 500); 23 Apr 2013 10:13:21 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 18001 invoked by uid 500); 23 Apr 2013 10:13:16 -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 17752 invoked by uid 99); 23 Apr 2013 10:13:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Apr 2013 10:13:15 +0000 Date: Tue, 23 Apr 2013 10:13:15 +0000 (UTC) From: "Colm O hEigeartaigh (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CXF-4978) Only encrypt an issued token if we have a matching key MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Colm O hEigeartaigh created CXF-4978: ---------------------------------------- Summary: Only encrypt an issued token if we have a matching key Key: CXF-4978 URL: https://issues.apache.org/jira/browse/CXF-4978 Project: CXF Issue Type: Improvement Components: STS Affects Versions: 2.7.4 Reporter: Colm O hEigeartaigh Assignee: Colm O hEigeartaigh Priority: Minor Fix For: 2.7.5 When the "encryptIssuedToken" boolean is set on the TokenIssueOperation in the STS, an exception is thrown if a public key is not found to encrypt the token. It first checks for a token per service (via the AppliesTo address), and then falls back to the generic setting on the STS. This improvement only encrypts the token if a matching key can be found. In other words, so long as the STS is not configured with a generic encryption name. -- 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