directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Created: (DIR-89) Work on BindRequest construction with BERDigester
Date Mon, 05 Apr 2004 05:14:43 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/DIR-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIR-89
    Summary: Work on BindRequest construction with BERDigester
       Type: Task

     Status: Open
   Priority: Major

    Project: Directory
 Components: 
             Eve
             ldap
             Snickers

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Sun, 4 Apr 2004 10:13 PM
    Updated: Sun, 4 Apr 2004 10:13 PM

Description:
BindRequest for Simple Binding
==============================

SEQUENCE 0x30, 0xxx, 
   INTEGER 0x02 0x....
   CHOICE bindRequest 0x40 
       SEQUENCE 0x30, 0xxx
           INTEGER version 0x02
           OCTET STRING name 0x04 0x...
           CHOICE  
               OCTET STRING simple 0x04 0x...

BERDigester should have a general rule that tracks the current message
id.  It can push an Integer instance of the MessageId onto the stack
when ever a pattern of tags { 0x30, 0x02 } are encountered.  Before the
actual BindRequest pattern is hit this object would be popped off of the
stack but will be available through the "root" member referrence.

The BindRequest pattern would then be { 0x30, 0x40 }.  With this and
the message id we could easily create an empty request and push it
onto the stack to be populated by other rules.

0x30 
  0x02
  0x40
    0x30
      0x02
      0x04
      0x04
  0x00

It might be a good idea to implement some of the simpler constructs
firsts with rules and reuse them when building higher message level 
rule sets.

Here's what we can make for BindRequest now that can be reused:

BindRequestRule
LdapDnRule
IntegerRule
OctetStringRule




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message