<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[
This adapter allows the chaining of other authentication adapters to authenticate from multiple sources.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
2. References
3. Component Requirements, Constraints, and Acceptance Criteria
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 |
|---|
7 Comments
comments.show.hideFeb 19, 2009
Robin Skoglund
<p>Requesting community feedback.</p>
Feb 26, 2009
Till Klampaeckel
<p>Great idea. </p>
Mar 02, 2009
Jay M. Keith
<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>
Apr 13, 2009
Geoffrey Tran
<p>Since there have been no comments over the past 3 months, I'm moving this to recommendation to keep things moving.</p>
Apr 13, 2009
Dolf Schimmel (Freeaqingme)
<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>
May 15, 2009
Sudheer Satyanarayana
<p>Cool solution. I have had to implement two auth adapters conditionally in one of my applications. Chaining is the perfect solution. </p>
Jul 14, 2009
Matthew Weier O'Phinney
<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>