directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kirill Kosinov <kirill.kosi...@gmail.com>
Subject GSoC2009 application
Date Tue, 31 Mar 2009 20:51:33 GMT
Hello, i work on application to GSoC2009.

I am interested in directory-proxy proposal from apache wiki, but have a few
questions:
1) the view of ldap message log. I plan to display incoming messages in byte
form in table view with additional view in proxy perspective
for decoded form. For example, if we have a ldap message (as it in java byte
input):
0x02, 0x01, 0x01, 0x60, 0x16, 0x02, 0x01, 0x03, 0x04, 0x09, 0x63, 0x6E,
0x3D, 0x70, 0x72,
0x65, 0x76, 0x65, 0x64, (byte)0x80, 0x06, 0x70, 0x72, 0x65, 0x76, 0x65,
0x64.
To write in request log  table lines (2 color groups to separate messages):
msgId 0x02, 0x01, 0x01
msgId 0x60
msgId 0x16
msgId 0x02, 0x01, 0x03
msgId 0x04, 0x09, 0x63, 0x6E, 0x3D, 0x70, 0x72, 0x65, 0x76, 0x65, 0x64
msgId (byte)0x80, 0x06, 0x70, 0x72, 0x65, 0x76, 0x65, 0x64.
By clicking on line of table we will see in decoded view:
messageId: 0x02, 0x01, 0x01 - Integer, length - 1, value -1.
operation: 0x60,
PDU length: 0x16,
  version: 0x02, 0x01, 0x03 - Integer, length - 1
  ldapDN: 0x04, 0x09, 0x63, 0x6E, 0x3D, 0x70, 0x72, 0x65, 0x76, 0x65, 0x64,
OCTET STRING, length - 9, value cn=preved
  Simple Auth type: (byte)0x80,  0x06, 0x70, 0x72, 0x65, 0x76, 0x65, 0x64.
length - 6, value=preved.
2) Is user input required? If it is required binary form is sufficient?
3) How proxy plugin shiuld be configured? We set proxy incoming port, select
saved connection and send client requests from incoming port to server, or
we try to get binary data from current connection where directory sudio is a
client and write ldap messages to log?
4) can i use classes from org.apache.directory.shared.ldap.codec? or i have
to implement own LdapMessageDecoder/Encoder?

Mime
View raw message