Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 39554 invoked from network); 30 Aug 2006 21:40:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2006 21:40:51 -0000 Received: (qmail 76536 invoked by uid 500); 30 Aug 2006 21:40:50 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 76012 invoked by uid 500); 30 Aug 2006 21:40:48 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 76001 invoked by uid 99); 30 Aug 2006 21:40:48 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 14:40:48 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 14:40:47 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3D3B541000E for ; Wed, 30 Aug 2006 21:37:23 +0000 (GMT) Message-ID: <3692810.1156973843247.JavaMail.jira@brutus> Date: Wed, 30 Aug 2006 14:37:23 -0700 (PDT) From: "Lars Trieloff (JIRA)" To: dev@cocoon.apache.org Subject: [jira] Updated: (COCOON-1905) [PATCH] Support non-file resources for jaas.config in JCR block In-Reply-To: <30479486.1156973602351.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/COCOON-1905?page=all ] Lars Trieloff updated COCOON-1905: ---------------------------------- Attachment: cocoon-jcr-jaas-uri-source.patch This patch allows the JAAS configuration to be stored in non physical files, e.g. in context resources, which is often the case with blocks under development that are deployed using the mvn cocoon:deploy goal. The patch adds a special case for those non-physical files: A temporary file is created, the contents of the specified resource are copied into the temporary file and this temporary file is used for configuring JAAS. This is very convenient behaviour in development environments because the block can be used out-of-the-box, but does not affect the security properties of a production system because in this case the location of the jaas.config file will be specified using Java system properties. > [PATCH] Support non-file resources for jaas.config in JCR block > --------------------------------------------------------------- > > Key: COCOON-1905 > URL: http://issues.apache.org/jira/browse/COCOON-1905 > Project: Cocoon > Issue Type: Improvement > Components: Blocks: (Undefined) > Affects Versions: 2.2-dev (Current SVN) > Reporter: Lars Trieloff > Priority: Minor > Attachments: cocoon-jcr-jaas-uri-source.patch > > > The current implementation of the JCR-block requires the user to define a physical file as source for the jaas.config. While is behaviour matches the requirements of the Java JAAS implementation it is inconvenient for development and prevents the creation of a generic out-of-the-box cocoon-JCR-example. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira