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