With 1.1.0RC8 no error is written in the apache_error_log. The phpcas log is 
attached at the bottom.

At this time i logged in manually before opening the test.php! The browser only 
shows my echo "test 1" like with the newer version, and after 
forceAuthentification no output is done.

In CentOS curl was automatically installed with "yum install php". Is it 
possible, the erros comes from curl? And do i have to configure more than 
tomcat to use SSL?

Like said before, CAS is working and authenticate against openLDAP. Tomcat uses 
SSL. This is working. The following steps i made was:
- yum install httpd
- yum install php
- downloaded the phpcas and unzipped it
- startet httpd
- create the test.php and opened it

Maybe i forgot something?
Thanks for helping!

--------------------------------------------------------
003A .START ****************** [CAS.php:471]

003A .=> phpCAS::client('2.0', 'localhost', 8443, '/cas/') [test.php:7]

003A .|    => CASClient::CASClient('2.0', false, 'localhost', 8443, '/cas/', 
true) [CAS.php:372]

003A .|    |    Starting session handling [client.php:561]

003A .|    |    No ticket found [client.php:564]

003A .|    <= ''

003A .<= ''

003A .=> phpCAS::setNoCasServerValidation() [test.php:9]

003A .<= ''

003A .=> phpCAS::forceAuthentication() [test.php:13]

003A .|    => CASClient::forceAuthentication() [CAS.php:969]

003A .|    |    => CASClient::isAuthenticated() [client.php:812]

003A .|    |    |    => CASClient::wasPreviouslyAuthenticated() [client.php:917]

003A .|    |    |    |    no user found [client.php:1041]

003A .|    |    |    <= false

003A .|    |    |    no ticket found [client.php:961]

003A .|    |    <= false

003A .|    |    => CASClient::redirectToCas(false) [client.php:821]

003A .|    |    |    => CASClient::getServerLoginURL(false, false) 
[client.php:1058]

003A .|    |    |    |    => CASClient::getURL() [client.php:331]

003A .|    |    |    |    <= 'http://localhost/test.php'

003A .|    |    |    <= 
'https://localhost:8443/cas/login?service=http%3A%2F%2Flocalhost%2Ftest.php'

003A .|    |    |    Redirect to : 
https://localhost:8443/cas/login?service=http%3A%2F%2Flocalhost%2Ftest.php

003A .|    |    |    exit()

003A .|    |    |    -

003A .|    |    -

003A .|    -

A396 .START ****************** [CAS.php:471]

A396 .=> phpCAS::client('2.0', 'localhost', 8443, '/cas/') [test.php:7]

A396 .|    => CASClient::CASClient('2.0', false, 'localhost', 8443, '/cas/', 
true) [CAS.php:372]

A396 .|    |    Starting session handling [client.php:561]

A396 .|    |    Ticket found [client.php:571]

A396 .|    |    Starting possible old session to copy variables [client.php:579]

A396 .|    |    Session ID: ST50Uvy4U4zoMJU9uexShCicas

A396 .|    |    Restoring old session vars [client.php:590]

A396 .|    |    ST or PT 'ST-5-0Uvy4U4zoMJU9uexShCi-cas' found [client.php:671]

A396 .|    <= ''

A396 .<= ''

A396 .=> phpCAS::setNoCasServerValidation() [test.php:9]

A396 .<= ''

A396 .=> phpCAS::forceAuthentication() [test.php:13]

A396 .|    => CASClient::forceAuthentication() [CAS.php:969]

A396 .|    |    => CASClient::isAuthenticated() [client.php:812]

A396 .|    |    |    => CASClient::wasPreviouslyAuthenticated() [client.php:917]

A396 .|    |    |    |    no user found [client.php:1041]

A396 .|    |    |    <= false

A396 .|    |    |    PT `ST-5-0Uvy4U4zoMJU9uexShCi-cas' is present 
[client.php:939]

A396 .|    |    |    => CASClient::validatePT('', NULL, NULL) [client.php:940]

A396 .|    |    |    |    => CASClient::getURL() [client.php:451]

A396 .|    |    |    |    <= 'http://localhost/test.php'

A396 .|    |    |    |    => 
CASClient::readURL('https://localhost:8443/cas/proxyValidate?service=http%3A%2F%2Flocalhost%2Ftest.php&ticket=ST-5-0Uvy4U4zoMJU9uexShCi-cas',
 '', NULL, NULL, NULL) [client.php:2450]

A396 .|    |    |    |    <= true

E526 .START ****************** [CAS.php:471]

E526 .=> phpCAS::client('2.0', 'localhost', 8443, '/cas/') [test.php:7]

E526 .|    => CASClient::CASClient('2.0', false, 'localhost', 8443, '/cas/', 
true) [CAS.php:372]

E526 .|    |    Starting session handling [client.php:561]

E526 .|    |    No ticket found [client.php:564]

E526 .|    <= ''

E526 .<= ''

E526 .=> phpCAS::setNoCasServerValidation() [test.php:9]

E526 .<= ''

E526 .=> phpCAS::forceAuthentication() [test.php:13]

E526 .|    => CASClient::forceAuthentication() [CAS.php:969]

E526 .|    |    => CASClient::isAuthenticated() [client.php:812]

E526 .|    |    |    => CASClient::wasPreviouslyAuthenticated() [client.php:917]

E526 .|    |    |    |    no user found [client.php:1041]

E526 .|    |    |    <= false

E526 .|    |    |    no ticket found [client.php:961]

E526 .|    |    <= false

E526 .|    |    => CASClient::redirectToCas(false) [client.php:821]

E526 .|    |    |    => CASClient::getServerLoginURL(false, false) 
[client.php:1058]

E526 .|    |    |    |    => CASClient::getURL() [client.php:331]

E526 .|    |    |    |    <= 'http://localhost/test.php'

E526 .|    |    |    <= 
'https://localhost:8443/cas/login?service=http%3A%2F%2Flocalhost%2Ftest.php'

E526 .|    |    |    Redirect to : 
https://localhost:8443/cas/login?service=http%3A%2F%2Flocalhost%2Ftest.php

E526 .|    |    |    exit()

E526 .|    |    |    -

E526 .|    |    -

E526 .|    -

A1F5 .START ****************** [CAS.php:471]

A1F5 .=> phpCAS::client('2.0', 'localhost', 8443, '/cas/') [test.php:7]

A1F5 .|    => CASClient::CASClient('2.0', false, 'localhost', 8443, '/cas/', 
true) [CAS.php:372]

A1F5 .|    |    Starting session handling [client.php:561]

A1F5 .|    |    Ticket found [client.php:571]

A1F5 .|    |    Starting possible old session to copy variables [client.php:579]

A1F5 .|    |    Session ID: ST6tcpxCmrULKbLqeAdz5dtcas

A1F5 .|    |    Restoring old session vars [client.php:590]

A1F5 .|    |    ST or PT 'ST-6-tcpxCmrULKbLqeAdz5dt-cas' found [client.php:671]

A1F5 .|    <= ''

A1F5 .<= ''

A1F5 .=> phpCAS::setNoCasServerValidation() [test.php:9]

A1F5 .<= ''

A1F5 .=> phpCAS::forceAuthentication() [test.php:13]

A1F5 .|    => CASClient::forceAuthentication() [CAS.php:969]

A1F5 .|    |    => CASClient::isAuthenticated() [client.php:812]

A1F5 .|    |    |    => CASClient::wasPreviouslyAuthenticated() [client.php:917]

A1F5 .|    |    |    |    no user found [client.php:1041]

A1F5 .|    |    |    <= false

A1F5 .|    |    |    PT `ST-6-tcpxCmrULKbLqeAdz5dt-cas' is present 
[client.php:939]

A1F5 .|    |    |    => CASClient::validatePT('', NULL, NULL) [client.php:940]

A1F5 .|    |    |    |    => CASClient::getURL() [client.php:451]

A1F5 .|    |    |    |    <= 'http://localhost/test.php'

A1F5 .|    |    |    |    => 
CASClient::readURL('https://localhost:8443/cas/proxyValidate?service=http%3A%2F%2Flocalhost%2Ftest.php&ticket=ST-6-tcpxCmrULKbLqeAdz5dt-cas',
 '', NULL, NULL, NULL) [client.php:2450]

A1F5 .|    |    |    |    <= true

------------------------------------------------------
-- 
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

Reply via email to