directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin, Roy" <rbenja...@ebay.com>
Subject RE: Startup Error for Embedded ApacheDS Created by ApacheDS archetype
Date Tue, 03 Aug 2010 20:23:39 GMT
Answered my own question, trunk is currently 1.5.8, right?

-----Original Message-----
From: Benjamin, Roy [mailto:rbenjamin@ebay.com] 
Sent: Tuesday, August 03, 2010 1:14 PM
To: Apache Directory Developers List
Subject: RE: Startup Error for Embedded ApacheDS Created by ApacheDS archetype

Hi Kiran,

I don't see 1.5.8 in svn.   

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 archetype

On Wed, Aug 4, 2010 at 1:27 AM, Benjamin, Roy <rbenjamin@ebay.com> wrote:
> You bet!
>
> :-)
>
> public class MembersAuthenticator extends AbstractAuthenticator {
>
>        protected MembersAuthenticator(String type) {
>            super(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.


>            System.out.println("\nMembersAuthenticator() " + type);
>    }
>
>        @Override
>        public LdapPrincipal authenticate(BindOperationContext bindOperationContext)
throws Exception {
>                System.out.println("\nMembersAuthenticator.authenticate() " +
bindOperationContext.getName());
>
>                return null;
>        }
>
>        @Override
>    public String getAuthenticatorType() {
>                System.out.println("\nMembersAuthenticator.getAuthenticatorType()
" + super.getAuthenticatorType());
>            return super.getAuthenticatorType();
>    }
>
>        @Override
>    public DirectoryService getDirectoryService() {
>                System.out.println("\nMembersAuthenticator.getDirectoryService()
" + super.getDirectoryService());
>            return super.getDirectoryService();
>    }
>
> }
>
> -----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 archetype
>
> hi Roy,
>
> On Wed, Aug 4, 2010 at 12:31 AM, Benjamin, Roy <rbenjamin@ebay.com> wrote:
>> Hi Kiran,
>>
>> I've been trying the example.
>>
>> I also thought it possible that the Authenticator I have could be the problem.
>> So I also ran the same example using other built in Authenticators.  Always the
>> same bind problem.
> is it possible to show us the code of your authenticator?
>
> Kiran Ayyagari
>

Kiran Ayyagari

Mime
View raw message