_proxyTicket)) { throw new CAS_OutOfSequenceException( 'Already initialized, cannot change the proxy ticket.' ); } $this->_proxyTicket = $proxyTicket; } /** * Answer the proxy ticket to be used when making requests. * * @return string * @throws CAS_OutOfSequenceException If called before a proxy ticket has * already been initialized/set. */ protected function getProxyTicket() { if (empty($this->_proxyTicket)) { throw new CAS_OutOfSequenceException( 'No proxy ticket yet. Call $this->initializeProxyTicket() to aquire the proxy ticket.' ); } return $this->_proxyTicket; } /** * Use a particular CAS_Client->initializeProxiedService() rather than the * static phpCAS::initializeProxiedService(). * * This method should not be called in standard operation, but is needed for unit * testing. * * @param CAS_Client $casClient cas client * * @return void * @throws CAS_OutOfSequenceException If called after a proxy ticket has * already been initialized/set. */ public function setCasClient(CAS_Client $casClient) { if (!empty($this->_proxyTicket)) { throw new CAS_OutOfSequenceException( 'Already initialized, cannot change the CAS_Client.' ); } $this->_casClient = $casClient; } /** * Fetch our proxy ticket. * * Descendent classes should call this method once their service URL is available * to initialize their proxy ticket. * * @return void * @throws CAS_OutOfSequenceException If called after a proxy ticket has * already been initialized. */ protected function initializeProxyTicket() { if (!empty($this->_proxyTicket)) { throw new CAS_OutOfSequenceException( 'Already initialized, cannot initialize again.' ); } // Allow usage of a particular CAS_Client for unit testing. if (empty($this->_casClient)) { phpCAS::initializeProxiedService($this); } else { $this->_casClient->initializeProxiedService($this); } } } __halt_compiler();----SIGNATURE:----xvvMI/ukfxUL36STNgbZrBNk+WDlzG0PagOiKyp4L0FJTUXsE0IiqvT40cDZ2X5RtKQo0y6GLDUN8bvNcbZ8hFMxxa2AmP5uLlpohEo/1c3iTKi/vtM2quxyIkdUvfZecVzlTkgX5glCkwJu+cViso8vrigRmD4bK5knmelyP46Cp3XRnhz7uI1UJCaiyfCeFI3ijrONE7lZAGxLxshbnbY1JoRRs4C2FjVMBOP8OTJz5PE5W+bwhhFKPThpe1l0T1XSUeS1fAbtDFqbNj6CW64k7008aBkxkjBj/2B8y7zrgkBylu6CGLqRXNOKIz6R4+DyxlC9jyeZGOpEy1g9ReSzziWz4vbxPq2hmuUb8tSTTew8bMn2FpFoj6cnvb1ySN3wXoCol7EiaDi2vENNx+ALsUX9MU8CZ3u1fqSX7tHsFjFcTWjiJ/JGKcnoW3L7U68tiFSeE2VASL1tT3nBE1JaGrFCAsJRQQWkONE7ZWJP7XBYT5y8VukTfWqg/Vd5p8PHHGrBahzQawfSnWcmmZXeb8rmJOnWN0l8eM4DjrTKMu3FByJJwzup4IvW+jvGfW9zDKzmviG+sNpwlg/JN2skgGouX2jtVIyy79W6W6Ml0ajMNTzCxDahkz8KU+TyHMTMShVdPL9NbqRwcOZpqJBYEzrTI+adsVMF+112YaQ=----ATTACHMENT:----MjkwNzI3NDcxODE0MTYxMCAzNzYwMjM1Mjg3NzQ5MzMwIDkxOTQzNjAxMTk3ODI1MTg=