directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Van Nhu (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Commented: (DIRSNICKERS-124) Control is a Class and an Interface in two packages.
Date Fri, 03 Feb 2006 05:03:03 GMT
    [ http://issues.apache.org/jira/browse/DIRSNICKERS-124?page=comments#action_12365042 ]


Van Nhu commented on DIRSNICKERS-124:
-------------------------------------

It seems to me that we have two almost identical LDAP message libraries in ldap.common.codec
and ldap.common.message with a lot of duplicated code.

This makes the TwixTransformer work double time just to convert a message from one format
to another. And currently it converts LDAP requests from the Twix format to the "common" format
and converts the LDAP responses from the "common" format to Twix format so that the ApacheDS
server can decode the incoming requests and encode the responses before sending them back
to the clients.

In addition, the TwixTransformer at the moment doesn't transform a "common" request to Twix
request nor does it transform a Twix response to a "common" response. This makes it impossible
to use the Twix codec together with MINA to implement an LDAP client or an LDAP proxy that
acts like a client to an LDAP Server.

This is not a problem with the old Snickers codec, so I wonder if someone has a plan as how
we can clean this up and make the Twix codec support ASN1 encoding of the requests and decoding
of the responses. Thanks.

> Control is a Class and an Interface in two packages.
> ----------------------------------------------------
>
>          Key: DIRSNICKERS-124
>          URL: http://issues.apache.org/jira/browse/DIRSNICKERS-124
>      Project: Directory ASN1
>         Type: Improvement
>     Reporter: Emmanuel Lecharny
>     Assignee: Alex Karasulu

>
> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message