Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

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

Zend Framework: Zend_Auth_Adapter_Cas Component Proposal

Proposed Component Name Zend_Auth_Adapter_Cas
Developer Notes http://framework.zend.com/wiki/display/ZFDEV/Zend_Auth_Adapter_Cas
Proposers Jeremy Postlethwaite
Revision 1.0 - 11 May 2009: Ready for community review
1.1 - 30 Jul 2009: Moved to ready for recommendation
1.2 - 31 Jul 2009: Added standalone use case for inclusion in non-MVC environments
1.3 - 16 Dec 2009: CAS authentication adapter revised and checked into the incubator (wiki revision: 18)

Table of Contents

1. Overview

Zend_Auth_Adapter_Cas is authentication adapter for CAS (Central Authentication Service) single-sign on protocol.

Central Authentication Service project, more commonly referred to as CAS. CAS is an authentication system originally created by Yale University to provide a trusted way for an application to authenticate a user.

2. References

3. Component Requirements, Constraints, and Acceptance Criteria

  • This component will implement Zend_Auth_Adapter_Interface.
  • This component will authenticate CAS ticket against CAS server.
  • This component will return Zend_Auth_Result::SUCCESS when CAS ticket is valid.
  • This component will return Zend_Auth_Result::FAILURE when CAS ticket is invalid.
  • This component must support optional SSL / TLS encrypted transport.
  • This component will not handle user redirects.
  • This component will not save any data.

4. Dependencies on Other Framework Components

  • Zend_Http_Client
  • simplexml_load_string with support for namespaces:

5. Theory of Operation

CAS authentication is typically handled by a remote server.

6. Milestones / Tasks

This CAS authentication adapter is capable of working with CAS versions 1, 2 and 3

  • Milestone 1: [DONE] Initial proposal published for review.
  • Milestone 2: [DONE] Working prototype and some examples.
  • Milestone 3: [DONE] Working prototype checked into the incubator supporting use cases.
  • Milestone 4: Unit tests exist, work, and are checked into SVN.
  • Milestone 5: Initial documentation exists.

7. Class Index

  • Zend_Auth_Adapter_Cas

8. Use Cases

UC-01 in MVC

Load parameters from Zend_Config:

cas.ini

or load directly:

Authenticate in an action

UC-02 in non-MVC

Standalone instance for non-MVC environments

9. Class Skeletons

http://framework.zend.com/svn/framework/standard/incubator/library/Zend/Auth/Adapter/Cas.php

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

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