public function forceAuthentication()
    {
        if (self::isAuthenticated()) {
            return true;
        } elseif ($this->getTicket()) {
            return $this->validateCas();
        }
        session_write_close();
        $this->redirectToCas();
        // never reached
        return true;
    }