Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 4174 invoked from network); 3 Aug 2010 20:14:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Aug 2010 20:14:52 -0000 Received: (qmail 70234 invoked by uid 500); 3 Aug 2010 20:14:52 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 70182 invoked by uid 500); 3 Aug 2010 20:14:51 -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 70173 invoked by uid 99); 3 Aug 2010 20:14:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 20:14:51 +0000 X-ASF-Spam-Status: No, hits=-3.4 required=10.0 tests=RCVD_IN_DNSWL_MED,RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_SAFE,SINGLE_HEADER_2K X-Spam-Check-By: apache.org Received-SPF: unknown (athena.apache.org: error in processing during lookup of rbenjamin@ebay.com) Received: from [216.33.244.6] (HELO rhv-mipot-001.corp.ebay.com) (216.33.244.6) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 20:14:45 +0000 DomainKey-Signature: s=corp; d=ebay.com; c=nofws; q=dns; h=X-EBay-Corp:X-IronPort-AV:Received:Received:From:To:Date: Subject:Thread-Topic:Thread-Index:Message-ID:References: In-Reply-To:Accept-Language:Content-Language: X-MS-Has-Attach:X-MS-TNEF-Correlator:acceptlanguage: x-ems-proccessed:x-ems-stamp:Content-Type: Content-Transfer-Encoding:MIME-Version:X-CFilter; b=057zRG2Uhb+2vIWM24dXeNdy+CvmArChuheyPyAkAS2yl/yEnohNIvrr zyd2ALxnyhojuXWK3giShkHwlN4vyK49kQvxVnfevvl+Kc/tLzgsNZopV mYVcAzMw1whv6Q8; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ebay.com; i=rbenjamin@ebay.com; q=dns/txt; s=corp; t=1280866484; x=1312402484; h=from:to:date:subject:message-id:references:in-reply-to: content-transfer-encoding:mime-version; z=From:=20"Benjamin,=20Roy"=20|To:=20A pache=20Directory=20Developers=20List=20|Date:=20Tue,=203=20Aug=202010=2013:14:22=20-070 0|Subject:=20RE:=20Startup=20Error=20for=20Embedded=20Apa cheDS=20Created=20by=20ApacheDS=0D=0A=20archetype |Message-ID:=20|References:=20<30173696.86 121280489836607.JavaMail.jira@thor>=0D=0A=09<4929557.9012 1280511796748.JavaMail.jira@thor>=0D=0A=09 =0D=0A=09=0D=0A=09=0D=0A=09=0D =0A=09=0D=0A=09<4C575F57.3040709@gmail.com >=0D=0A=09=0D=0A=09=0D=0A =09=0D=0A=09=0D=0A=09=0D =0A=09=0D=0A=20|In-Reply-To:=20|Content-Transfer-Encoding:=20quoted-printable |MIME-Version:=201.0; bh=Hs2OLOuuamkfVICroOw2DztKVaor2S9Echm1r+sezLY=; b=P2JOxaUbvLYk0nSHXBiAVZWfjGJlz+f6lNjLb/5t1VgeroJyCgOpyqX6 TebJrF1FzUgwMnlXE9Ey1A9VeDAY2MBtQEnVGjlorGWxDr8YFW38UQC8R lOjcMRbamorlD8Y; X-EBay-Corp: Yes X-IronPort-AV: E=Sophos;i="4.55,311,1278313200"; d="scan'208";a="73880177" Received: from rhv-vtenf-002.corp.ebay.com (HELO RHV-MEXHT-001.corp.ebay.com) ([10.112.113.53]) by rhv-mipot-001.corp.ebay.com with ESMTP; 03 Aug 2010 13:14:24 -0700 Received: from RHV-MEXMS-002.corp.ebay.com ([10.245.17.114]) by RHV-MEXHT-001.corp.ebay.com ([10.245.24.100]) with mapi; Tue, 3 Aug 2010 13:14:23 -0700 From: "Benjamin, Roy" To: Apache Directory Developers List Date: Tue, 3 Aug 2010 13:14:22 -0700 Subject: RE: Startup Error for Embedded ApacheDS Created by ApacheDS archetype Thread-Topic: Startup Error for Embedded ApacheDS Created by ApacheDS archetype Thread-Index: AcszR03yilA8tD7FRT2PWne7bQ/7+QAAPUxw Message-ID: References: <30173696.86121280489836607.JavaMail.jira@thor> <4929557.90121280511796748.JavaMail.jira@thor> <4C575F57.3040709@gmail.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-ems-proccessed: 10SqDH0iR7ekR7SRpKqm5A== x-ems-stamp: B6i5AvcX/4ARRdM+2pia4Q== Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter: Scanned Hi Kiran, I don't see 1.5.8 in svn. =20 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 archet= ype 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 should = be protected MembersAuthenticator(AuthenticationLevel type) { super(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() " + t= ype); > =A0 =A0} > > =A0 =A0 =A0 =A0@Override > =A0 =A0 =A0 =A0public LdapPrincipal authenticate(BindOperationContext bin= dOperationContext) throws Exception { > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0System.out.println("\nMembersAuthenticator= .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("\nMembersAuthenticator= .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("\nMembersAuthenticator= .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 arch= etype > > hi Roy, > > On Wed, Aug 4, 2010 at 12:31 AM, Benjamin, Roy wrote= : >> Hi Kiran, >> >> I've been trying the example. >> >> I also thought it possible that the Authenticator I have could be the pr= oblem. >> So I also ran the same example using other built in Authenticators. =A0A= lways the >> same bind problem. > is it possible to show us the code of your authenticator? > > Kiran Ayyagari > Kiran Ayyagari