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_Auth_Adapter_Chain Component Proposal

Proposed Component Name Zend_Auth_Adapter_Chain
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Auth_Adapter_Chain
Proposers Geoffrey Tran
Zend Liaison TBD
Revision 1.0 - 1 January 2008: Initial Draft. (wiki revision: 5)

Table of Contents

1. Overview

This adapter allows the chaining of other authentication adapters to authenticate from multiple sources.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will return the successful authenticated adapter
  • This component will use no more memory than twice the size of all data it contains.

4. Dependencies on Other Framework Components

  • Zend_Auth_Result
  • Zend_Auth_Adapter_Interface

5. Theory of Operation

Authentication adapter used for chaining other auth adapters to authenticate from multiple sources

  • Adapters are processed in FIFO order.

6. Milestones / Tasks

  • Milestone 1: [DONE] Working prototype
  • Milestone 2: Unit tests, Documentation
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

7. Class Index

  • Zend_Auth_Adapter_Chain

8. Use Cases

UC-01

9. Class Skeletons

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

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

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Feb 19, 2009

    <p>Requesting community feedback.</p>

  2. Feb 26, 2009

    <p>Great idea. </p>

  3. Mar 02, 2009

    <p>Definitely a great and useful idea. I generally have several sources that I have to authenticate through, so this will be very useful for me.</p>

  4. Apr 13, 2009

    <p>Since there have been no comments over the past 3 months, I'm moving this to recommendation to keep things moving.</p>

    1. Apr 13, 2009

      <p>It's hard to comment on a perfect proposal (the contents, that is). But I definitely like it and would like to see it in ZF.</p>

  5. May 15, 2009

    <p>Cool solution. I have had to implement two auth adapters conditionally in one of my applications. Chaining is the perfect solution. </p>

  6. Jul 14, 2009

    <ac:macro ac:name="note"><ac:parameter ac:name="title">Zend Framework Approval</ac:parameter><ac:rich-text-body>
    <p>This proposal is accepted for immediate development in the Standard Incubator.</p>

    <p>We have one change request:</p>
    <ul>
    <li>We note that it includes a "getLastSuccessfulAdapter()" method. This implies that the chain will attempt to authenticate against all attached adapters, instead of returning true on the first successful adapter. It seems that the method name would be better named "getSuccessfulAdapter()", as this appears to be the intention of the component.</li>
    </ul>
    </ac:rich-text-body></ac:macro>