Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 84689 invoked from network); 16 Mar 2007 20:35:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Mar 2007 20:35:31 -0000 Received: (qmail 50343 invoked by uid 500); 16 Mar 2007 20:35:38 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 50322 invoked by uid 500); 16 Mar 2007 20:35:38 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 50309 invoked by uid 99); 16 Mar 2007 20:35:38 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 13:35:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Mar 2007 13:35:29 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70E77714083 for ; Fri, 16 Mar 2007 13:35:09 -0700 (PDT) Message-ID: <4530126.1174077309457.JavaMail.jira@brutus> Date: Fri, 16 Mar 2007 13:35:09 -0700 (PDT) From: "Xiaohua Lu (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Reopened: (JCR-792) after enabling access manager, I can't createNode and setProperty without a node.save in the middle In-Reply-To: <31912213.1173904509388.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 [ https://issues.apache.org/jira/browse/JCR-792?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xiaohua Lu reopened JCR-792: ---------------------------- please try the provided test code. > after enabling access manager, I can't createNode and setProperty without a node.save in the middle > --------------------------------------------------------------------------------------------------- > > Key: JCR-792 > URL: https://issues.apache.org/jira/browse/JCR-792 > Project: Jackrabbit > Issue Type: Bug > Components: security > Affects Versions: 1.2.3 > Reporter: Xiaohua Lu > Attachments: jaas.config, JackrabbitTest.java, ntExts.txt, TestAccessManager.java, TestLoginManager.java > > > I added my own access manager. after that I can't get the following code working > Node n = createNewNode(parentNode); > n.setProperty(); > parentNode.save(); > It seems that setProperty will invoke access control check, but since the new node is not in the repository yet, my access manager implementation won't be able to grant permission. I also tried to use hierachyManager to get the path of the new node, it also returned null. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.