directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Van Nhu (JIRA)" <>
Subject [jira] Commented: (DIRSNICKERS-124) Control is a Class and an Interface in two packages.
Date Mon, 06 Feb 2006 01:24:05 GMT
    [ ]

Van Nhu commented on DIRSNICKERS-124:

Thanks Emmanuel for your prompt response.

If I understand it correctly, your LDAP Proxy doesn't transform LDAP messages between Twix
format and the "internal" message presentation.

Our LDAP client/proxy, when implemented with MINA + Twix Codec Provider, is currently failing
to communicate with the server. It throws a NPE when running this segment of code:

    public void testEncodeBindRequest() throws EncoderException
        final BindRequestImpl req0 = new BindRequestImpl( 1 );
        req0.setCredentials( "password".getBytes() );
        req0.setName( "cn=admin,dc=example,dc=com" );
        req0.setSimple( true );
        req0.setVersion3( true );

        final MessageEncoder encoder = new MessageEncoder();
        encoder.encode( req0 );

I would suspect that a similar error will be received if you try to get the Twix Codec Provider
to decode an LDAP response. The reasons for this are as I explained in my previous comment.
We can discuss further off-line if that is more convenient to you. 

Thanks and Regards, 

> Control is a Class and an Interface in two packages.
> ----------------------------------------------------
>          Key: DIRSNICKERS-124
>          URL:
>      Project: Directory ASN1
>         Type: Improvement
>     Reporter: Emmanuel Lecharny
>     Assignee: Emmanuel Lecharny

> We have too elements with the same name : Control.
> it's an Interface in org.apache.ldap.common.message and a class in org.apache.ldap.common.codec
> We must keep only one of those two elements

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message