directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] Commented: (DIRSNICKERS-124) Control is a Class and an Interface in two packages.
Date Fri, 03 Feb 2006 08:54:03 GMT
    [ ]

Emmanuel Lecharny commented on DIRSNICKERS-124:

The LdapProxy (in sandbox) use the twix codec, so it seems that is is possible to use twix
to write a proxy or a client ;-)

The big picture is the following :

1) CLIENT uses twix classes to prepare LdapMessage requests 
2) CLIENT sends those messages to the PROXY/SERVER after having encoded them as BER, using
3) PROXY/SERVER receives a BER binary encoded data
4) PROXY/SERVER calls the decoder which produce a twix instance of the message
5) PROXY/SERVER then calls the transformer to switch from this twix representation to the
internal message representation
6) PROXY/SERVER does it jobs ...
7) PROXY/SERVER creates an instance of the LdapMessage response using the internal representation
8) PROXY/SERVER calls the transformer to switch from the internal representation to the twix
9) PROXY/SERVER encodes the message as BER, using twix
10) PROXY/SERVER sends the binary data back to the CLIENT
11) CLIENT decodes the binary data and creates an instance of a twix representation of the

I must admit that the transformation is a bit overkilling, to say the least, but it does not
prevent the implementation of a client or a proxy. The merge between the internal representation
and the twix representation is something that is planned in a forthcoming release.

> 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