Successfull Authentication!It works !!! Thanks for your help. Such a stupid mistake:
phpCAS::client(CAS_VERSION_2_0,'xile:8443/cas-serverf',443,' '); Of course, it should look like this: phpCAS::client(CAS_VERSION_2_0,'xilef',8443,'/cas-server'); Felix Date: Tue, 14 Jul 2009 10:50:19 +0200 From: [email protected] Subject: RE: [cas-user] phpCAS - DOMDocument::loadXML() [domdocument.loadxml]: Empty string ... To: [email protected] Hello, here is the content of the phpCAS.log: 9708 .START ****************** [CAS.php:414] 9708 .=> phpCAS::client('2.0', 'xilef:8443/cas-server/', 443, '') [example_simple.php:13] 9708 .| => CASClient::CASClient('2.0', false, 'xilef:8443/cas-server/', 443, '', true) [CAS.php:315] 9708 .| | Session ID: ST7JjnvIimVNczPfmoOvZPRcas 9708 .| | ST or PT 'ST-7-JjnvIimVNczPfmoOvZPR-cas' found [client.php:600] 9708 .| <= '' 9708 .<= '' 9708 .=> phpCAS::setNoCasServerValidation() [example_simple.php:18] 9708 .<= '' 9708 .=> phpCAS::forceAuthentication() [example_simple.php:21] 9708 .| => CASClient::forceAuthentication() [CAS.php:912] 9708 .| | => CASClient::isAuthenticated() [client.php:692] 9708 .| | | => CASClient::wasPreviouslyAuthenticated() [client.php:797] 9708 .| | | | no user found [client.php:909] 9708 .| | | <= false 9708 .| | | PT `ST-7-JjnvIimVNczPfmoOvZPR-cas' is present [client.php:819] 9708 .| | | => CASClient::validatePT('', NULL, NULL) [client.php:820] 9708 .| | | | => CASClient::getURL() [client.php:396] 9708 .| | | | <= 'http://pc62.sybit.de/test/example_simple.php' 9708 .| | | | => CASClient::readURL('https://xilef:8443/cas-server/:443/proxyValidate?service=http%3A%2F%2Fpc62.sybit.de%2Ftest%2Fexample_simple.php&ticket=ST-7-JjnvIimVNczPfmoOvZPR-cas', '', NULL, NULL, NULL) [client.php:2104] 9708 .| | | | <= true 9708 .| | | | => CASClient::authError('PT not validated', 'https://xilef:8443/cas-server/:443/proxyValidate?service=http%3A%2F%2Fpc62.sybit.de%2Ftest%2Fexample_simple.php&ticket=ST-7-JjnvIimVNczPfmoOvZPR-cas', false, true, '') [client.php:2118] 9708 .| | | | | => CASClient::getURL() [client.php:2289] 9708 .| | | | | <= 'http://pc62.sybit.de/test/example_simple.php' 9708 .| | | | | CAS URL: https://xilef:8443/cas-server/:443/proxyValidate?service=http%3A%2F%2Fpc62.sybit.de%2Ftest%2Fexample_simple.php&ticket=ST-7-JjnvIimVNczPfmoOvZPR-cas [client.php:2290] 9708 .| | | | | Authentication failure: PT not validated [client.php:2291] 9708 .| | | | | Reason: bad response from the CAS server [client.php:2296] 9708 .| | | | | CAS response: [client.php:2310] 9708 .| | | | | exit() 9708 .| | | | | - 9708 .| | | | - 9708 .| | | - 9708 .| | - 9708 .| - I hope somebody can help me. Felix > Date: Mon, 13 Jul 2009 09:19:29 -0400 > From: [email protected] > Subject: Re: [cas-user] phpCAS - DOMDocument::loadXML() > [domdocument.loadxml]: Empty string ... > To: [email protected] > > Could you enable phpCAS debug logging and post it here? The following > in your CAS header PHP file enables debugging: > > phpCAS::setDebug(); > > The debug log is written to /tmp/phpCAS.log by default. > > M > > -- > 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-user Mehr Sicherheit und Datenschutz - der neue Internet Explorer 8 für MSN Jetzt sofort kostenlos downloaden! -- 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-user _________________________________________________________________ http://redirect.gimas.net/?n=M0906xIE8_MSN4 Internet Explorer 8 jetzt für MSN - kostenlos! -- 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-user
