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/31 08:49:01 UTC

[jira] Commented: (DIRSNICKERS-55) ModifyRequest: create digester rules to decode

The following comment has been added to this issue:

     Author: Alex Karasulu
    Created: Sun, 30 May 2004 11:48 PM
       Body:
Here's the ASN.1 spec on the ModifyRequest:

        LDAPString ::= OCTET STRING

        AttributeDescription ::= LDAPString

        AttributeValue ::= OCTET STRING

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



        ModifyRequest ::= [APPLICATION 6] SEQUENCE 
        {
                object          LDAPDN,
                modification    SEQUENCE OF SEQUENCE 
                {
                        operation       ENUMERATED 
                        {
                                                add     (0),
                                                delete  (1),
                                                replace (2) 
                        },
                        modification    AttributeTypeAndValues 
                } 
        }


Here's what the tag nesting anatomy looks like for a modify request where one operation involved an attribute and one value and another modification operation involves an attribute and two of its values:

16 [0x10000000][170]
        2 [0x02000000][1]
        6 [0x46000000][162]
                4 [0x04000000][17]
               16 [0x10000000][140]
                        16 [0x10000000][40]
                                10 [0x0a000000][1]
                                16 [0x10000000][35]
                                        4 [0x04000000][11]
                                       17 [0x11000000][20]
                                               4 [0x04000000][18]
                        16 [0x10000000][32]
                                10 [0x0a000000][1]
                                16 [0x10000000][27]
                                        4 [0x04000000][2]
                                       17 [0x11000000][21]
                                               4 [0x04000000][9]
                                               4 [0x04000000][8]
       0 [0x80000000][0]

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

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIRSNICKERS-55
    Summary: ModifyRequest: 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:07 PM
    Updated: Sun, 30 May 2004 11:48 PM
    Due:     Sun, 30 May 2004 12:00 AM

Description:
The digester rules to create and build a ModifyRequest 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