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: 4) |
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
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.
Since there have been no comments over the past 3 months, I'm moving this to recommendation to keep things moving.
Cool solution. I have had to implement two auth adapters conditionally in one of my applications. Chaining is the perfect solution.
| Zend Framework Approval This proposal is accepted for immediate development in the Standard Incubator. We have one change request:
|
ZF Home Page
Code Browser
Wiki Dashboard
Requesting community feedback.