Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FBE4F327 for ; Mon, 22 Apr 2013 09:39:20 +0000 (UTC) Received: (qmail 5380 invoked by uid 500); 22 Apr 2013 09:39:19 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 4281 invoked by uid 500); 22 Apr 2013 09:39:18 -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 3997 invoked by uid 99); 22 Apr 2013 09:39:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Apr 2013 09:39:16 +0000 Date: Mon, 22 Apr 2013 09:39:16 +0000 (UTC) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (JCR-3577) Allow creation of users with 'null' password 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/JCR-3577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13637874#comment-13637874 ] angela commented on JCR-3577: ----------------------------- regarding the patch: - there is no need to catch the exception in a test and then call "fail()"... the try/catch block should be removed. the test will then fail if an exception is raised. - for compatibility with oak the setPassword method should throw an exception if the node is NEW and the pw is null... including a test (see list above). can you provide an updated patch? thanks. > Allow creation of users with 'null' password > -------------------------------------------- > > Key: JCR-3577 > URL: https://issues.apache.org/jira/browse/JCR-3577 > Project: Jackrabbit Content Repository > Issue Type: Improvement > Components: jackrabbit-core, security > Affects Versions: 2.6 > Reporter: Lars Krapf > Priority: Trivial > Attachments: jr2_null_password_patch.txt > > > In order to create of system-only users that can be impersonated but cannot actually login, > the creation of users with 'null' passwords should be allowed. -- 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