Efficient implementation of lightweight directory access protocol (LDAP) search queries with structured query language (SQL)
First Claim
1. A method for searching a relational database using hierarchical, filter-based queries, comprising the steps of:
- parsing a filter-based query for elements and logical operators of the filter query;
for each filter element, generating an SQL subquery according to a set of translation rules;
for each SQL subquery, generating a set of entry ID'"'"'s for the filter query; and
combining the SQL subqueries into a single SQL query according to a set of combination rules chosen corresponding to the logical operators of the filter query.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of hierarchical LDAP searching in an LDAP directory service having a relational database management system (DBMS) as a backing store. The method begins by parsing an LDAP filter-based query for elements and logical operators of the filter query. For each filter element, the method generates an SQL subquery according to a set of translation rules. For each SQL subquery, the method then generates a set of entry identifiers for the LDAP filter query. Then, the SQL subqueries are combined into a single SQL query according to a set of combination rules chosen corresponding to the logical operators of the LDAP filter query.
113 Citations
29 Claims
-
1. A method for searching a relational database using hierarchical, filter-based queries, comprising the steps of:
-
parsing a filter-based query for elements and logical operators of the filter query;
for each filter element, generating an SQL subquery according to a set of translation rules;
for each SQL subquery, generating a set of entry ID'"'"'s for the filter query; and
combining the SQL subqueries into a single SQL query according to a set of combination rules chosen corresponding to the logical operators of the filter query. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for searching a relational database from a Lightweight Directory Access Protocol (LDAP) directory service generating filter-based queries, comprising the steps of:
-
parsing an LDAP filter-based query for elements and logical operators of the LDAP filter query;
for each LDAP filter element, generating an SQL subquery according to a set of translation rules;
for each SQL subquery, generating a set of entry ID'"'"'s for the LDAP filter query; and
combining the SQL subqueries into a single SQL query according to a set of combination rules chosen corresponding to the logical operators of the LDAP filter query. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A computer program product in computer-readable media for searching a relational database using hierarchical, filter-based queries, comprising:
-
means for parsing a filter-based query for elements and logical operators of the filter query;
means for generating an SQL subquery for each filter element according to a set of translation rules;
means for generating a set of entry ID'"'"'s for each SQL subquery; and
means for combining the SQL subqueries into a single SQL query according to a set of combination rules chosen corresponding to the logical operators of the filter query. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
-
24. A directory service, comprising:
-
a directory organized as a naming hierarchy having a plurality of entries each represented by a unique identifier;
a relational database management system having a backing store for storing directory data;
means for searching the directory, comprising;
means for parsing an hierarchical, filter-based query for elements and logical operators of the filter query;
means for generating a relational database subquery for each filter element according to a set of translation rules;
means for generating a set of unique identifiers for each relational database subquery; and
means for combining the relational database subqueries into a single relational database query according to a set of combination rules chosen corresponding to the logical operators of the filter query. - View Dependent Claims (25, 26)
-
-
27. In a directory service having a directory organized as a naming hierarchy, the hierarchy including a plurality of entries each represented by a unique identifier, the improvement comprising:
-
a relational database management system having a backing store for storing directory data;
means for searching the directory, comprising;
means for parsing an hierarchical, filter-based query for elements and logical operators of the filter query;
means for generating a relational database subquery for each filter element according to a set of translation rules;
means for generating a set of unique identifiers for each relational database subquery; and
means for combining the relational database subqueries into a single relational database query according to a set of combination rules chosen corresponding to the logical operators of the filter query. - View Dependent Claims (28, 29)
-
Specification