yea Joachim, i realized that after going through the docs again earlier. ill look into it as soon as i get to my working place. guess i should have looked into the docs a bit more closely than rushing things.
Regards, Auninda On Fri, Dec 2, 2011 at 7:15 PM, Joachim Fritschi <[email protected]>wrote: > Hi Auninda, > > that is a good possibility. The phpcas client uses the php curl library to > connect to the cas server to validate the ticket. > > You might have to use the phpCAS::setExtraCurlOpts() [1] function to > configure the the proxy settings. phpcas uses the curl_setopt_array()[2] > function. > > Without having tested it you might need add something like the following > behind the phpcas initialisation (add your settings of course): > > > phpCAS::setExtraCurlOpts(**array(CURLOPT_PROXY => ' > http://myproxy.com:1080', > CURLOPT_PROXYUSERPWD => 'user:pwd")); > > Regards, > > Joachim > > > [1] http://downloads.jasig.org/**cas-clients/php/current/docs/** > api/classphpCAS.html#**a26ba0156e03fede5cd0c6bacbae8e**928<http://downloads.jasig.org/cas-clients/php/current/docs/api/classphpCAS.html#a26ba0156e03fede5cd0c6bacbae8e928> > [2] > http://www.php.net/manual/de/**function.curl-setopt-array.php<http://www.php.net/manual/de/function.curl-setopt-array.php> > > Am 02.12.2011 11:39, schrieb Auninda Rumy Saleque: > >> hey thankx for the reply. ill have to look into it sometimes tomorrow as >> i am away from all of my setup for the next 24hours. i do have doubts >> that my working behind a proxy may be the reason for all of this. but >> lets see. >> >> Regards, >> Auninda >> >> On Fri, Dec 2, 2011 at 2:44 PM, Joachim Fritschi <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hi, >> >> please enable the phpCAS debug log [1]. Maybe that can be done in >> the config menu or you can just search the cas plugin code for any >> phpCAS::client() or phpCAS::proxy() call and add an >> phpCAS::setDebug($filename) directly after those calls. >> The debug log should give you a pretty good idea about anything that >> is happening with the cas client. >> >> Regards, >> >> Joachim >> >> >> > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/**display/JSG/cas-dev<http://www.ja-sig.org/wiki/display/JSG/cas-dev> > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev
