Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 89571 invoked from network); 23 Feb 2010 07:17:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Feb 2010 07:17:55 -0000 Received: (qmail 66110 invoked by uid 500); 23 Feb 2010 07:17:55 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 66058 invoked by uid 500); 23 Feb 2010 07:17:54 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 66041 invoked by uid 99); 23 Feb 2010 07:17:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 07:17:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [194.172.26.33] (HELO MX1.aeb.de) (194.172.26.33) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Feb 2010 07:17:46 +0000 X-IronPort-AV: E=Sophos;i="4.49,524,1262559600"; d="scan'208";a="4954878" Received: from unknown (HELO S-HQMX6.pmbelz.de) ([10.237.5.6]) by MX1I.pmbelz.de with ESMTP; 23 Feb 2010 08:17:23 +0100 Received: from S-HQMX6.pmbelz.de ([fe80::c11d:7ab7:ed94:fb34]) by S-HQMX6.pmbelz.de ([fe80::c11d:7ab7:ed94:fb34%14]) with mapi; Tue, 23 Feb 2010 08:17:23 +0100 From: "Cech. Ulrich" To: "'users@jackrabbit.apache.org'" Date: Tue, 23 Feb 2010 08:17:22 +0100 Subject: AW: UserManagement Thread-Topic: UserManagement Thread-Index: Acqz4IuM97LBcZp2S/OwE7RbE3J6WwAZntsw Message-ID: References: <484A95FB-ACEE-4C69-80DF-C9B206739BE3@tfd.co.uk> In-Reply-To: <484A95FB-ACEE-4C69-80DF-C9B206739BE3@tfd.co.uk> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Ian, thanks for your response. To 1 (changing password): The problem here is that i get the NoSuchElementException while calling: Value[] pwdProperty =3D ((User)auth).getProperty("rep:password"); (copied from the Sling code) If I call: Authorizable a =3D um.getAuthorizable(userId); // 'um' is the normal UserMa= nager Iterator i =3D a.getPropertyNames(); The resulting iterator is empty, so it seams that there are no properties f= or the user, what I think is not the case. Good idea ;-)... shame on me Like Matt asked in his post, how can we search for "all" existing users. I = tried to find for example a special password with "um.findAuthorizables("re= p:password", "admin");" for users with password "admin", but this also retu= rned an empty iterator. Thanks again, Ulrich Treffen Sie AEB vom 2.-4. M?rz 2010 auf der LogiMAT in Stuttgart. Halle 5, = Stand 407. Weitere Informationen und Terminvereinbarung unter: www.aeb.de/logimat