You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by ji...@apache.org on 2004/05/29 08:06:00 UTC

[jira] Created: (DIRSNICKERS-53) AddRequest: create digester rules to decode

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/DIRSNICKERS-53

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIRSNICKERS-53
    Summary: AddRequest: create digester rules to decode
       Type: Task

     Status: Open
   Priority: Major

    Project: Directory Snickers
 Components: 
             LDAP Provider

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Fri, 28 May 2004 11:04 PM
    Updated: Fri, 28 May 2004 11:04 PM
    Due:     Sat, 29 May 2004 12:00 AM

Description:
The digester rules to create and build a AddRequest need to be created and test cases for decoding should pass.


---------------------------------------------------------------------
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


[jira] Closed: (DIRSNICKERS-53) AddRequest: create digester rules to decode

Posted by ji...@apache.org.
Message:

   The following issue has been closed.

   Resolver: Alex Karasulu
       Date: Sun, 30 May 2004 9:49 PM

Committed with revision 20680.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/DIRSNICKERS-53

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIRSNICKERS-53
    Summary: AddRequest: create digester rules to decode
       Type: Task

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: Directory Snickers
 Components: 
             LDAP Provider

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Fri, 28 May 2004 11:04 PM
    Updated: Sun, 30 May 2004 9:49 PM
    Due:     Sun, 30 May 2004 12:00 AM

Description:
The digester rules to create and build a AddRequest need to be created and test cases for decoding should pass.


---------------------------------------------------------------------
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


[jira] Commented: (DIRSNICKERS-53) AddRequest: create digester rules to decode

Posted by ji...@apache.org.
The following comment has been added to this issue:

     Author: Alex Karasulu
    Created: Sun, 30 May 2004 9:46 PM
       Body:
We took a slightly different approach where the instead of pushing an Attribute after an Attributes onto the stack we just pushed the name of the attribute and had a rule that collects and puts the values into the attributes.

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/DIRSNICKERS-53?page=comments#action_35830

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/DIRSNICKERS-53

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIRSNICKERS-53
    Summary: AddRequest: create digester rules to decode
       Type: Task

     Status: In Progress
   Priority: Major

    Project: Directory Snickers
 Components: 
             LDAP Provider

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Fri, 28 May 2004 11:04 PM
    Updated: Sun, 30 May 2004 9:46 PM
    Due:     Sun, 30 May 2004 12:00 AM

Description:
The digester rules to create and build a AddRequest need to be created and test cases for decoding should pass.


---------------------------------------------------------------------
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


[jira] Commented: (DIRSNICKERS-53) AddRequest: create digester rules to decode

Posted by ji...@apache.org.
The following comment has been added to this issue:

     Author: Alex Karasulu
    Created: Sun, 30 May 2004 8:33 PM
       Body:
Here's what the ASN.1 says an AddRequest looks like:

        LDAPString ::= OCTET STRING

        LDAPDN ::= LDAPString

        AttributeDescription ::= LDAPString

        AttributeValue ::= OCTET STRING

        AttributeList ::= SEQUENCE OF SEQUENCE 
        {
                type    AttributeDescription,
                vals    SET OF AttributeValue 
        }

        AddRequest ::= [APPLICATION 8] SEQUENCE 
        {
                entry           LDAPDN,
                attributes      AttributeList 
        }

Here's the tag nesting anatomy of an add request with three attributes in the entry: 

16 [0x10000000][80]
        2 [0x02000000][1]
        8 [0x48000000][73] - AddRequest
                 4 [0x04000000][17] - entry (LDAPDN)
                16 [0x10000000][52] - AttributeList (SEQ_OF_SEQ)
                        16 [0x10000000][30] - SEQUENCE
                                4 [0x04000000][11] - type (AttributeDescription)
				17 [0x11000000][15] - vals SET OF AttributeValue
                                        4 [0x04000000][8] 
                                        4 [0x04000000][3]
                        16 [0x10000000][18] - SEQUENCE
                                 4 [0x04000000][2] - type (AttributeDescription)
                                17 [0x11000000][12] - vals SET OF AttributeValue
                                        4 [0x04000000][10]
        0 [0x80000000][0]

Rule #0 pushes messageId onto int stack
Rule #1 AddRequestRule 
 o pop int stack to instantiate AddRequest 
 o push AddRequest onto object stack
 o pops object stack on finish 
Rule #2 AddRequestEntryDnRule
 o collects entry dn octet string
 o sets the entry dn name on AddRequest
Rule #3 AttributeListRule
 o instantiates Attributes object
 o sets Attributes of AddRequest that is at top of stack
 o pushes Attributes onto object stack
 o pops object stack on finish
Rule #4 AttributeRule
 o collects attribute name ("type") octet string
 o instantiates Attribute object with name
 o adds Attribute to Attributes object at the top of stack
 o pushes Attribute object onto object stack
 o pops Attribute object off of object stack on finish
Rule #5 AttributeValueRule
 o collects attribute value octet string
 o adds attribute value to Attribute object at the top of the stack


---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/DIRSNICKERS-53?page=comments#action_35829

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/DIRSNICKERS-53

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIRSNICKERS-53
    Summary: AddRequest: create digester rules to decode
       Type: Task

     Status: In Progress
   Priority: Major

    Project: Directory Snickers
 Components: 
             LDAP Provider

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Fri, 28 May 2004 11:04 PM
    Updated: Sun, 30 May 2004 8:33 PM
    Due:     Sun, 30 May 2004 12:00 AM

Description:
The digester rules to create and build a AddRequest need to be created and test cases for decoding should pass.


---------------------------------------------------------------------
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


[jira] Updated: (DIRSNICKERS-53) AddRequest: create digester rules to decode

Posted by ji...@apache.org.
The following issue has been updated:

    Updater: Alex Karasulu (mailto:aok123@bellsouth.net)
       Date: Fri, 28 May 2004 11:06 PM
    Changes:
             duedate changed from 2004-05-29 00:00:00.0 to 2004-05-30 00:00:00.0
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/DIRSNICKERS-53?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/DIRSNICKERS-53

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIRSNICKERS-53
    Summary: AddRequest: create digester rules to decode
       Type: Task

     Status: Open
   Priority: Major

    Project: Directory Snickers
 Components: 
             LDAP Provider

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Fri, 28 May 2004 11:04 PM
    Updated: Fri, 28 May 2004 11:06 PM
    Due:     Sun, 30 May 2004 12:00 AM

Description:
The digester rules to create and build a AddRequest need to be created and test cases for decoding should pass.


---------------------------------------------------------------------
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