NAME

Trinket::Directory::FilterParser::LDAP - Handle RFC1960 search filters

ABSTRACT

Accept an LDAP-like search filter to find objects.

SYNOPSIS

my @objs = $serializer->Search
  ('(&(parent=1)(objectclass=Iaido::Object::Folder))');

my @objs = $serializer->Search
  (qq^
      (&
        (path~=/hivemind/*)
        (objectclass=Iaido::Object::Hivemind::Task)
        (| (parent=2378)(parent=2124)(parent=2308)(parent=3217) )
        (| (author=1949)(author=4158) )
        (& (created>=883976400)(created<=947307600) )
        (closed=0)
       )
    ^);

DESCRIPTION

The parse_filter() method accepts a filter string, based on and mostly compatible with RFC1960 (http://www.ietf.org/rfc/rfc1960.txt), the string representation format of Lightweight Directory Access Protocol (LDAP) search filters. (TODO: Detail what features, if any, of the spec are not supported)

EXPORTS

TODO

METHODS

AUTHOR

Maintained by Leslie Michael Orchard <deus_x@pobox.com>

COPYRIGHT

Copyright (c) 2000, Leslie Michael Orchard. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.