Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 73156 invoked from network); 18 Feb 2008 21:16:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Feb 2008 21:16:04 -0000 Received: (qmail 99803 invoked by uid 500); 18 Feb 2008 21:15:57 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 99784 invoked by uid 500); 18 Feb 2008 21:15:57 -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 99775 invoked by uid 99); 18 Feb 2008 21:15:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 13:15:57 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [217.13.4.94] (HELO bgo1smout1.broadpark.no) (217.13.4.94) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 21:15:10 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0JWG00KFTDPV19C0@bgo1smout1.broadpark.no> for users@jackrabbit.apache.org; Mon, 18 Feb 2008 22:15:31 +0100 (CET) Received: from spitfire ([84.48.89.55]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0JWG00MYYDPU5F90@bgo1sminn1.broadpark.no> for users@jackrabbit.apache.org; Mon, 18 Feb 2008 22:15:31 +0100 (CET) From: Karianne Berg To: users@jackrabbit.apache.org Subject: Logging in to a Jackrabbit repository Date: Mon, 18 Feb 2008 22:15:30 +0100 Message-id: <005001c87273$6422d8f0$2c688ad0$@no> X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Achyc2PYoAWtYFA5SqOHL4W6gzbvKg== Content-language: no X-Virus-Checked: Checked by ClamAV on apache.org Hello all, I am quite new to Jackrabbit and content repositories in general. I have run the first part ("Hop 1") of the "first hops" example, and I ran into the following peculiar behavior: I noticed that if I changed the line Session session = repository.login(); to Credentials creds = new SimpleCredentials("bullshit", "password".toCharArray()); Session session = repository.login(creds); I could still login successfully. Why does it behave like this? And what is the easiest way to setup "real" authentication? Regards, Karianne Berg