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:12:00 UTC

[jira] Created: (DIRSNICKERS-57) SearchRequest: create digester rules to decode

Message:

  A new issue has been created in JIRA.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIRSNICKERS-57
    Summary: SearchRequest: 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:11 PM
    Updated: Fri, 28 May 2004 11:11 PM
    Due:     Mon, 31 May 2004 12:00 AM

Description:
The digester rules to create and build a SearchRequest need to be created and test cases for decoding should pass.  This will be the hardest of em all.


---------------------------------------------------------------------
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-57) SearchRequest: create digester rules to decode

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

     Author: Alex Karasulu
    Created: Fri, 4 Jun 2004 11:51 AM
       Body:
The ASN.1 definition for a search request is shown below with all associated terms in the ASN.1 spec:


        SearchRequest ::= [APPLICATION 3] SEQUENCE {
                baseObject      LDAPDN,
                scope           ENUMERATED {
                        baseObject              (0),
                        singleLevel             (1),
                        wholeSubtree            (2) },
                derefAliases    ENUMERATED {
                        neverDerefAliases       (0),
                        derefInSearching        (1),
                        derefFindingBaseObj     (2),
                        derefAlways             (3) },
                sizeLimit       INTEGER (0 .. maxInt),
                timeLimit       INTEGER (0 .. maxInt),
                typesOnly       BOOLEAN,
                filter          Filter,
                attributes      AttributeDescriptionList }

        Filter ::= CHOICE {
                and             [0] SET OF Filter,
                or              [1] SET OF Filter,
                not             [2] Filter,
                equalityMatch   [3] AttributeValueAssertion,
                substrings      [4] SubstringFilter,
                greaterOrEqual  [5] AttributeValueAssertion,
                lessOrEqual     [6] AttributeValueAssertion,
                present         [7] AttributeDescription,
                approxMatch     [8] AttributeValueAssertion,
                extensibleMatch [9] MatchingRuleAssertion }

        SubstringFilter ::= SEQUENCE {
                type            AttributeDescription,
                -- at least one must be present
                substrings      SEQUENCE OF CHOICE {
                        initial [0] LDAPString,
                        any     [1] LDAPString,
                        final   [2] LDAPString } }

        MatchingRuleAssertion ::= SEQUENCE {
                matchingRule    [1] MatchingRuleId OPTIONAL,
                type            [2] AttributeDescription OPTIONAL,
                matchValue      [3] AssertionValue,
                dnAttributes    [4] BOOLEAN DEFAULT FALSE }

        AttributeValueAssertion ::= SEQUENCE {
                attributeDesc   AttributeDescription,
                assertionValue  AssertionValue }

        AttributeDescriptionList ::= SEQUENCE OF
                AttributeDescription

        AttributeDescription ::= LDAPString

        AttributeValue ::= OCTET STRING

        LDAPString ::= OCTET STRING

        LDAPDN ::= LDAPString

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

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIRSNICKERS-57
    Summary: SearchRequest: 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:11 PM
    Updated: Fri, 4 Jun 2004 11:51 AM
    Due:     Mon, 31 May 2004 12:00 AM

Description:
The digester rules to create and build a SearchRequest need to be created and test cases for decoding should pass.  This will be the hardest of em all.


---------------------------------------------------------------------
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-57) SearchRequest: 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, 4 Jun 2004 11:59 AM
    Changes:
             priority changed from Major to Blocker
    ---------------------------------------------------------------------
For a full history of the issue, see:

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

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

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

     Status: In Progress
   Priority: Blocker

    Project: Directory Snickers
 Components: 
             LDAP Provider

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Fri, 28 May 2004 11:11 PM
    Updated: Fri, 4 Jun 2004 11:59 AM
    Due:     Mon, 31 May 2004 12:00 AM

Description:
The digester rules to create and build a SearchRequest need to be created and test cases for decoding should pass.  This will be the hardest of em all.


---------------------------------------------------------------------
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-57) SearchRequest: create digester rules to decode

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

   The following issue has been closed.

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

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

     Status: Closed
   Priority: Blocker
 Resolution: FIXED

    Project: Directory Snickers
 Components: 
             LDAP Provider

   Assignee: Alex Karasulu
   Reporter: Alex Karasulu

    Created: Fri, 28 May 2004 11:11 PM
    Updated: Mon, 14 Jun 2004 12:49 AM
    Due:     Mon, 31 May 2004 12:00 AM

Description:
The digester rules to create and build a SearchRequest need to be created and test cases for decoding should pass.  This will be the hardest of em all.


---------------------------------------------------------------------
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-57) SearchRequest: create digester rules to decode

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

     Author: Alex Karasulu
    Created: Fri, 4 Jun 2004 11:55 AM
       Body:
Notice that the ASN.1 Filter definition is recursive.  A filter can contain another filter.  Here's the snippet I'm referring to:

        Filter ::= CHOICE {
                and             [0] SET OF Filter,
                or              [1] SET OF Filter,
                not             [2] Filter,
                equalityMatch   [3] AttributeValueAssertion,
                ... }

What this means is the nesting depth for BER encoded TLV tags is indefinate.  This means our static patterns for rule registration in the digester don't cut it.  We are going to need wildcards to register some rules and we need to make sure processing is fast. This also means that this issue is now dependent on the wild cards JIRA issue which we shall link.

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

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: DIRSNICKERS-57
    Summary: SearchRequest: 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:11 PM
    Updated: Fri, 4 Jun 2004 11:55 AM
    Due:     Mon, 31 May 2004 12:00 AM

Description:
The digester rules to create and build a SearchRequest need to be created and test cases for decoding should pass.  This will be the hardest of em all.


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