directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Directory Wiki] Update of "LdapCodec" by EmmanuelLecharny
Date Sun, 28 Aug 2005 14:25:50 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Directory Wiki" for change notification.

The following page has been changed by EmmanuelLecharny:
http://wiki.apache.org/directory/LdapCodec

The comment on the change is:
Improved the table of contents

------------------------------------------------------------------------------
  As one can see, it's much more complicated than the SPNEGO grammar ! The used encoding is
a subset of BER, where the TRUE value is always encoded as 0xFF and where all length are fully
definite.
  
  == Decoding an LDAP message ==
+ 
+ === LdapMessage ===
  Each LDAP message starts with a first automate :
  
  attachment:LdapMessage.png
  
+ === ProtocolOp ===
  The next part (''protocol``Op'') will contains all the different type of possible messages.
:
  
  attachment:protocolOp.png
  
  Each message is described in the next chapters.
  
+ === Controls ===
  It can be followed by an optionnal control part, which automaton state is  shown below :
  
  attachment:Controls.png
@@ -337, +341 @@

  
  attachment:SearchRequest.png
  
+ ==== Filter ====
+ We can use filters to select elements :
+ 
  attachment:Filter.png
  
+ ===== SubstringFilter =====
  attachment:SubstringFilter.png
  
+ ===== MatchingRuleAssertion =====
  attachment:MatchingRuleAssertion.png
  
  === Search responses ===
  
  We may have three different kind of responses to a ldap Search. The first two are entries
or references, and the last one is returned when all teh entries or references have been sent.
  
+ ==== SearchResultEntry ====
  attachment:SearchResultEntry.png
  
+ ==== SearchResultReference ====
+ 
  attachment:SearchResultReference.png
+ 
+ ==== SearchResultDone ====
  
  attachment:SearchResultDone.png
  
@@ -357, +371 @@

  
  We can add an entry. Here is the message to send, and the response you get :
  
- 
+ ==== AddRequest ====
  attachment:AddRequest.png
  
+ ==== AddResponse ====
  attachment:AddResponse.png
  
  === Del ===
  
  We can delete an entry. Here is the message to send, and the response you get :
  
+ ==== DelRequest ====
  attachment:DelRequest.png
  
+ ==== DelResponse ====
  attachment:DelResponse.png
  
  === Modify ===
  
  We can modify an entry. Here is the message to send, and the response you get :
  
+ ==== ModifyRequest ====
  attachment:ModifyRequest.png
  
+ ==== ModifyResponse ====
  attachment:ModifyResponse.png
  
  === Modify DN ===
  
  We can modify a DN. Here is the message to send, and the response you get :
  
+ ==== ModifyDNRequest ====
  attachment:ModifyDNRequest.png
  
+ ==== ModifyDNResponse ====
  attachment:ModifyDNResponse.png
  
  === Extended message ===
  
  Otherwise, as LDAP accepts extension, it does through those two messages :
  
- 
+ ==== ExtendedRequest ====
  attachment:ExtendedRequest.png
  
+ ==== ExtendedResponse ====
  attachment:ExtendedResponse.png
  

Mime
View raw message