From users-return-13804-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Dec 17 08:55:24 2009 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 61055 invoked from network); 17 Dec 2009 08:55:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Dec 2009 08:55:24 -0000 Received: (qmail 5946 invoked by uid 500); 17 Dec 2009 08:55:23 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 5895 invoked by uid 500); 17 Dec 2009 08:55:23 -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 5884 invoked by uid 99); 17 Dec 2009 08:55:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 08:55:23 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists+1257438615597-510167@n4.nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 08:55:14 +0000 Received: from joe.nabble.com ([192.168.236.151]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NLC8L-00058s-4F for users@jackrabbit.apache.org; Thu, 17 Dec 2009 00:54:53 -0800 Date: Thu, 17 Dec 2009 00:54:53 -0800 (PST) From: anand To: users@jackrabbit.apache.org Message-ID: In-Reply-To: <4e4f46500912170034k5479d705vc64e5a7ab34b43b8@mail.gmail.com> References: <1260253043410-955014.post@n4.nabble.com> <1260266135305-955118.post@n4.nabble.com> <510143ac0912080207h74fa4cabu119b7bb9703e28e6@mail.gmail.com> <1260417650449-956684.post@n4.nabble.com> <4e4f46500912100235l76afd435yac62136711479587@mail.gmail.com> <1261030211173-965767.post@n4.nabble.com> <4e4f46500912170034k5479d705vc64e5a7ab34b43b8@mail.gmail.com> Subject: Re: Derby MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6096_29818111.1261040093125" X-Nabble-From: anand X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6096_29818111.1261040093125 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks Ben On Thu, Dec 17, 2009 at 1:35 PM, Ben Short [via Jackrabbit] < ml-node+965820-438124116@n4.nabble.com > wrote: > Simer, > > Configure the repository to use the previously stated classes and then > just call the method. > > Ben > > 2009/12/17 anand <[hidden email]>: > > > > > > Hello Ben, > > > > > > Ben Short wrote: > >> > >> Jackrabbit 2 has all this done for you already. > >> > >> configure your repository to use the following classes > >> > >> org.apache.jackrabbit.core.security.DefaultAccessManager > >> org.apache.jackrabbit.core.security.authentication.DefaultLoginModule > >> org.apache.jackrabbit.core.DefaultSecurityManager > >> > >> Then > >> > >> UserManager um = ((JackrabbitSession)session).getUserManager(); > >> > >> User user = um.createUser("user", "password"); > >> > > > > > > In order to create user using above method createUser("user","password"); > in > > jackrabbit 2.0 > > we need to provide inner logic to this method or just call it > > providing parameters. > > > > Thanks > > simer > > > > > > -- > > View this message in context: > http://n4.nabble.com/Derby-tp955014p965767.html > > Sent from the Jackrabbit - Users mailing list archive at Nabble.com. > > > > > ------------------------------ > View message @ http://n4.nabble.com/Derby-tp955014p965820.html > To unsubscribe from Re: Derby, click here< (link removed) =>. > > > -- View this message in context: http://n4.nabble.com/Derby-tp955014p965834.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com. ------=_Part_6096_29818111.1261040093125--