public static function getUser() { if (!APPLICATION_PHPCAS_OPEN) { return ''; } return \Util_Phpcas::isAuthenticated(); }
public static function setUser($user) { self::$_user = $user; }
public function dispatchLoopStartup(\Yaf\Request_Abstract $request, \Yaf\Response_Abstract $response) { if (!\Util_Phpcas::isAuthenticated()) { \Util_Phpcas::login(); } }