Commit 3f887e03 authored by Tim Steiner's avatar Tim Steiner
Browse files

Moving transparent CAS authentication to make room for other transparent authenticators.

parent 5568859b
......@@ -9,10 +9,15 @@
* @author tsteiner
*
*/
class Unl_Controller_Plugin_Authenticate extends Zend_Controller_Plugin_Abstract
class Unl_Controller_Plugin_Auth_Cas extends Zend_Controller_Plugin_Abstract
{
public function dispatchLoopStartup(Zend_Controller_Request_Abstract $request)
{
// If the current user wasn't authenticated by CAS, don't try to validate their session.
if (Zend_Auth::getInstance()->hasIdentity() && !Unl_Auth_Adapter_Cas::isCasSession()) {
return;
}
$front = Zend_Controller_Front::getInstance();
$options = $front->getParam('bootstrap')->getOptions();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment