You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by ch...@lhsystems.com on 2005/05/06 11:21:54 UTC

[server] Problem writing my own authenticator

Hi everyone,

I'm trying to write my own authenticator and I'm following your example in Wiki.
I'd like to use my own Package for this, but when I would like to return the principal:

return new LdapPrincipal( principalDn );

I experience the problem, that I cannot access this constructor. Are there any plans, to create an instance of this class from outside the package?

Best regards
Christian

Re: [server] Problem writing my own authenticator

Posted by Alex Karasulu <ao...@bellsouth.net>.
christian.huebert@lhsystems.com wrote:

>Hi everyone,
>
>I'm trying to write my own authenticator and I'm following your example in Wiki.
>I'd like to use my own Package for this, but when I would like to return the principal:
>
>return new LdapPrincipal( principalDn );
>
>I experience the problem, that I cannot access this constructor. Are there any plans, to create an instance of this class from outside the package?
>  
>
Christian I think we just changed this to accomodate your problem.  We 
will try to release 0.9 before next week if possible to get this out to 
folks like yourself.

I think this release has been held back too long. 

Alex

RE: [server] Problem writing my own authenticator

Posted by Endi Sukma Dewata <en...@vergenet.com>.
Hi Christian,

> I'm trying to write my own authenticator and I'm following your example in
> Wiki.
> I'd like to use my own Package for this, but when I would like to return
> the principal:
> 
> return new LdapPrincipal( principalDn );
> 
> I experience the problem, that I cannot access this constructor. Are there
> any plans, to create an instance of this class from outside the package?

If you have the latest version of the source code, you can call the
createLdapPrincipal() that Alex just added in recently. I've just updated
the example on the Wiki page.
http://wiki.apache.org/directory/ApacheDirectoryServer

Hope this helps.

--
Endi S. Dewata