Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 9671 invoked from network); 3 Aug 2010 20:25:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Aug 2010 20:25:02 -0000 Received: (qmail 77487 invoked by uid 500); 3 Aug 2010 20:25:01 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 77442 invoked by uid 500); 3 Aug 2010 20:25:01 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 77435 invoked by uid 99); 3 Aug 2010 20:25:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 20:25:01 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ayyagarikiran@gmail.com designates 209.85.161.50 as permitted sender) Received: from [209.85.161.50] (HELO mail-fx0-f50.google.com) (209.85.161.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 20:24:53 +0000 Received: by fxm9 with SMTP id 9so2600019fxm.37 for ; Tue, 03 Aug 2010 13:24:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Hr8oe6fVboHt8YYR4OgQFAguzCgUKriv4a6eDYO+Alg=; b=r3sELW+FJD36PARIFY6wZgQsztb9pAoDAlAMnU1d3ukejIMVlpSYah5A2so77F5Rty kswLZghuunMwWysz39dQZ8oQQlnXlmU7oHRPNDBI3ZPTABSg4Sij6rPj3IxOg+NLlYWR k5daoUhpEA/1BXQDrDlbVMBJP7RM8/cU2mn6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=pzACWiOMDtLt1rHWJYBFG7IowpshnIltElSrAEC49HQZDBiYkjyqkL8B0cCG6LNWSv lnJBuh03pKcVY0MMw4kCCSgm97BPLLBFi7q/6z+XX2DArt333wZF1pHs8W0YbcgW/2rs CGKgnTtxvLCAoMTT6+toQPMDULpsH/81J281M= MIME-Version: 1.0 Received: by 10.223.122.146 with SMTP id l18mr7858280far.82.1280867073601; Tue, 03 Aug 2010 13:24:33 -0700 (PDT) Sender: ayyagarikiran@gmail.com Received: by 10.223.116.9 with HTTP; Tue, 3 Aug 2010 13:24:33 -0700 (PDT) In-Reply-To: References: <30173696.86121280489836607.JavaMail.jira@thor> <4929557.90121280511796748.JavaMail.jira@thor> <4C575F57.3040709@gmail.com> Date: Wed, 4 Aug 2010 01:54:33 +0530 X-Google-Sender-Auth: jvNRfLuR-bm9_1ZheEjtmklwRyM Message-ID: Subject: Re: Startup Error for Embedded ApacheDS Created by ApacheDS archetype From: Kiran Ayyagari To: Apache Directory Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org hi Roy, On Wed, Aug 4, 2010 at 1:44 AM, Benjamin, Roy wrote: > Hi Kiran, > > I don't see 1.5.8 in svn. this is the version number of the latest trunk, not yet released, that is why am explicitly mentioning 1.5.8*-SNAPSHOT* here is the svn url http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies > > I see apacheds-1.5.6, apacheds-1.5.7 under branches > and > 1.0.0 to 1.5.7 under tags.. > > ? > > Thanks > Roy > > -----Original Message----- > From: ayyagarikiran@gmail.com [mailto:ayyagarikiran@gmail.com] On Behalf = Of Kiran Ayyagari > Sent: Tuesday, August 03, 2010 1:05 PM > To: Apache Directory Developers List > Subject: Re: Startup Error for Embedded ApacheDS Created by ApacheDS arch= etype > > On Wed, Aug 4, 2010 at 1:27 AM, Benjamin, Roy wrote: >> You bet! >> >> :-) >> >> public class MembersAuthenticator extends AbstractAuthenticator { >> >> =A0 =A0 =A0 =A0protected MembersAuthenticator(String type) { >> =A0 =A0 =A0 =A0 =A0 =A0super(type); > ahhh, I see, this must be a old version of AbstractAuthenticator, the > new AbstractAuthenticator > (from the 1.5.8-SNAPSHOT) constructor takes a AuthenticationLevel > > AbstractAuthenticator( AuthenticationLevel type ) so the above code shoul= d be > > protected MembersAuthenticator(AuthenticationLevel type) { > =A0 =A0 =A0 =A0 =A0 =A0super(type); > .... > > this is the reason why your authenticator is not recognized. I guess > you must be developing and deploying with different versions. > > >> =A0 =A0 =A0 =A0 =A0 =A0System.out.println("\nMembersAuthenticator() " + = type); >> =A0 =A0} >> >> =A0 =A0 =A0 =A0@Override >> =A0 =A0 =A0 =A0public LdapPrincipal authenticate(BindOperationContext bi= ndOperationContext) throws Exception { >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0System.out.println("\nMembersAuthenticato= r.authenticate() " + bindOperationContext.getName()); >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0return null; >> =A0 =A0 =A0 =A0} >> >> =A0 =A0 =A0 =A0@Override >> =A0 =A0public String getAuthenticatorType() { >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0System.out.println("\nMembersAuthenticato= r.getAuthenticatorType() " + super.getAuthenticatorType()); >> =A0 =A0 =A0 =A0 =A0 =A0return super.getAuthenticatorType(); >> =A0 =A0} >> >> =A0 =A0 =A0 =A0@Override >> =A0 =A0public DirectoryService getDirectoryService() { >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0System.out.println("\nMembersAuthenticato= r.getDirectoryService() " + super.getDirectoryService()); >> =A0 =A0 =A0 =A0 =A0 =A0return super.getDirectoryService(); >> =A0 =A0} >> >> } >> >> -----Original Message----- >> From: ayyagarikiran@gmail.com [mailto:ayyagarikiran@gmail.com] On Behalf= Of Kiran Ayyagari >> Sent: Tuesday, August 03, 2010 12:12 PM >> To: Apache Directory Developers List >> Subject: Re: Startup Error for Embedded ApacheDS Created by ApacheDS arc= hetype >> >> hi Roy, >> >> On Wed, Aug 4, 2010 at 12:31 AM, Benjamin, Roy wrot= e: >>> Hi Kiran, >>> >>> I've been trying the example. >>> >>> I also thought it possible that the Authenticator I have could be the p= roblem. >>> So I also ran the same example using other built in Authenticators. =A0= Always the >>> same bind problem. >> is it possible to show us the code of your authenticator? >> >> Kiran Ayyagari >> > > Kiran Ayyagari > --=20 Kiran Ayyagari