Skip to end of metadata
Go to start of metadata

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

<ac:macro ac:name="unmigrated-inline-wiki-markup"><ac:plain-text-body><![CDATA[

Zend Framework: Zend_Ldap_Search Component Proposal

Proposed Component Name Zend_Ldap_Search
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Ldap_Search
Proposers Michelangelo van Dam
Zend Liaison TBD
Revision 1.0 - 25 August 2009: Initial Draft. (wiki revision: 7)

Table of Contents

1. Overview

For extended LDAP functionality within my Zend Framework applications, I needed a component to search a given LDAP tree. With this component I can authenticate users to the application and fetching their role as well.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

For searching LDAP, you need to have an active Zend_Ldap component. Zend_Ldap_Search uses Zend_Ldap to bind to a given base DN, before starting the search.

  • Zend_Ldap_Search will search the LDAP tree to find a given search filter
  • Additional attributes can be given to narrow the search
  • A result object will be created that contains all results given by the LDAP instance

4. Dependencies on Other Framework Components

  • Zend_Ldap
  • Zend_Ldap_Exception

5. Theory of Operation

To initialize Zend_Ldap_Search, you need to provide it with a Zend_Ldap resource.

6. Milestones / Tasks

Describe some intermediate state of this component in terms of design notes, additional material added to this page, and / code. Note any significant dependencies here, such as, "Milestone #3 can not be completed until feature Foo has been added to ZF component XYZ." Milestones will be required for acceptance of future proposals. They are not hard, and many times you will only need to think of the first three below.

  • Milestone 1: design notes will be published here
  • Milestone 2: Working prototype checked into the incubator supporting use cases #1, #2, ...
  • Milestone 3: Working prototype checked into the incubator supporting use cases #3 and #4.
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

7. Class Index

  • Zend_Ldap_Search_Exception (extends Zend_Ldap_Exception)
  • Zend_Ldap_Search (stand-alone class)
  • Zend_Ldap_Search_Result (need to be build)

8. Use Cases

UC-01

9. Class Skeletons

]]></ac:plain-text-body></ac:macro>

]]></ac:plain-text-body></ac:macro>

Labels:
zend_ldap zend_ldap Delete
ldap ldap Delete
search search Delete
proposal proposal Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Aug 25, 2009

    <p>The current Zend_Ldap component (from release 1.9 on) features extensive CRUD capablities which also include a full set of search methods.</p>

  2. Feb 06, 2011

    <p>Archiving this proposal, feel free to recover it when you want to work on it again. For more details see <a href="http://framework.zend.com/wiki/display/ZFDEV/Archiving+of+abandoned+proposals+(Feb+5+2011)">this email</a>.</p>