Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 97557 invoked from network); 13 Oct 2010 06:26:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Oct 2010 06:26:57 -0000 Received: (qmail 21297 invoked by uid 500); 13 Oct 2010 06:26:56 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 20924 invoked by uid 500); 13 Oct 2010 06:26:54 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 20917 invoked by uid 99); 13 Oct 2010 06:26:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 06:26:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 06:26:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9D6QWxo008887 for ; Wed, 13 Oct 2010 06:26:32 GMT Message-ID: <13649024.109291286951192590.JavaMail.jira@thor> Date: Wed, 13 Oct 2010 02:26:32 -0400 (EDT) From: "Rex Wang (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-5638) Remove the encrypt(String) method in ConfiguredEncryption In-Reply-To: <25408348.92371286872593033.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rex Wang updated GERONIMO-5638: ------------------------------- Attachment: GERONIMO-5638.patch We should not use ConfiguredEncryption as a proxy to EncryptionManager. So upload a patch. > Remove the encrypt(String) method in ConfiguredEncryption > --------------------------------------------------------- > > Key: GERONIMO-5638 > URL: https://issues.apache.org/jira/browse/GERONIMO-5638 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: security > Reporter: Rex Wang > Fix For: 2.1.7, 2.2.1, 3.0 > > Attachments: GERONIMO-5638.patch > > > I found the ConfiguredEncryption has a method as following: > > public String encrypt(String text) { > return EncryptionManager.encrypt(text); > } > This cause a recursive call: > EncrytionManager's encrypt actual calls the encyption.encrypt to do encryption. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.