Hi,
im trying to casifying egroupware but without success.
Authentication cookies: yes
Mode: PHPclient
SSL Authentication: No
phpCAS-1.3.2
When i go to login page i have “infinite loop redirection error”. Debug log phpcas contains:
BBC9 .START phpCAS-1.3.2 ****************** [CAS.php:450]
BBC9 .=> phpCAS::client(‘2.0’, ‘demo.server.cz’, 8443, ‘/cas-web’) [login.php:71]
BBC9 .| => CAS_Client::__construct(‘2.0’, false, ‘demo.server.cz’, 8443, ‘/cas-web’, true) [CAS.php:347]
BBC9 .| | Starting a new session [Client.php:792]
BBC9 .| | Ticket ‘ST-953-dtVCDxb5O9btrsrDp3d9-cas’ found [Client.php:870]
BBC9 .| <= ''
BBC9 .<= ''
BBC9 .=> phpCAS::setNoCasServerValidation() [login.php:87]
BBC9 .| You have configured no validation of the legitimacy of the cas server. This is not recommended for production use. [CAS.php:1669]
BBC9 .<= '‘
BBC9 .=> phpCAS::forceAuthentication() [login.php:90]
BBC9 .| => CAS_Client::forceAuthentication() [CAS.php:1101]
BBC9 .| | => CAS_Client::isAuthenticated() [Client.php:1083]
BBC9 .| | | => CAS_Client::_wasPreviouslyAuthenticated() [Client.php:1189]
BBC9 .| | | | no user found [Client.php:1375]
BBC9 .| | | <= false
BBC9 .| | | CAS 2.0 ticket ST-953-dtVCDxb5O9btrsrDp3d9-cas' is present [Client.php:1223] BBC9 .| | | => CAS_Client::validateCAS20('', NULL, NULL) [Client.php:1224] BBC9 .| | | | [Client.php:2747] BBC9 .| | | | => CAS_Client::getServerServiceValidateURL() [Client.php:2753] BBC9 .| | | | | => CAS_Client::getURL() [Client.php:417] BBC9 .| | | | | | Final URI: https://demo.server.cz/egroupware/login.php?phpgw_forward=%2Fhome%2Findex.php [Client.php:3071] BBC9 .| | | | | <= 'https://demo.server.cz/egroupware/login.php?phpgw_forward=%2Fhome%2Findex.php' BBC9 .| | | | <= 'https://demo.server.cz:8443/cas-web/serviceValidate?service=https%3A%2F%2Fdemo.server.cz%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Fhome%252Findex.php' BBC9 .| | | | => CAS_Client::_readURL('https://demo.server.cz:8443/cas-web/serviceValidate?service=https%3A%2F%2Fdemo.server.cz%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%252Fhome%252Findex.php&ticket=ST-953-dtVCDxb5O9btrsrDp3d9-cas', NULL, NULL, NULL) [Client.php:2762] BBC9 .| | | | | => CAS_Request_CurlRequest::sendRequest() [AbstractRequest.php:220] BBC9 .| | | | | | Response Body: BBC9 .| | | | | | <cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'> BBC9 .| | | | | | <cas:authenticationSuccess> BBC9 .| | | | | | <cas:user>jaluvka</cas:user> BBC9 .| | | | | | BBC9 .| | | | | | BBC9 .| | | | | | </cas:authenticationSuccess> BBC9 .| | | | | | </cas:serviceResponse> BBC9 .| | | | | | [CurlRequest.php:82] BBC9 .| | | | | <= true BBC9 .| | | | <= true BBC9 .| | | | => CAS_Client::_readExtraAttributesCas20(DOMNodeList) [Client.php:2813] BBC9 .| | | | | Testing for rubycas style attributes [Client.php:2923] BBC9 .| | | | <= '' BBC9 .| | | | Storing Proxy List [Client.php:2822] BBC9 .| | | | => CAS_ProxyChain_AllowedList::isProxyListAllowed(array ()) [Client.php:2825] BBC9 .| | | | | No proxies were found in the response [AllowedList.php:81] BBC9 .| | | | <= true BBC9 .| | | | => CAS_Client::_renameSession('ST-953-dtVCDxb5O9btrsrDp3d9-cas') [Client.php:2856] BBC9 .| | | | | Session ID: ST-953-dtVCDxb5O9btrsrDp3d9-cas [Client.php:3180] BBC9 .| | | | | Restoring old session vars [Client.php:3183] BBC9 .| | | | <= '' BBC9 .| | | <= true BBC9 .| | | CAS 2.0 ticketST-953-dtVCDxb5O9btrsrDp3d9-cas’ was validated [Client.php:1225]
BBC9 .| | | => CAS_Client::getURL() [Client.php:1279]
BBC9 .| | | <= 'https://demo.server.cz/egroupware/login.php?phpgw_forward=%2Fhome%2Findex.php’
BBC9 .| | | Prepare redirect to : https://demo.server.cz/egroupware/login.php?phpgw_forward=%2Fhome%2Findex.php [Client.php:1279]
BBC9 .| | | => CAS_Client::getURL() [Client.php:1280]
BBC9 .| | | <= 'https://demo.server.cz/egroupware/login.php?phpgw_forward=%2Fhome%2Findex.php’
BBC9 .| | | exit()
BBC9 .| | | -
BBC9 .| | -
BBC9 .| -
1426 .START phpCAS-1.3.2 ****************** [CAS.php:450]
1426 .=> phpCAS::client(‘2.0’, ‘demo.server.cz’, 8443, ‘/cas-web’) [login.php:71]
1426 .| => CAS_Client::__construct(‘2.0’, false, ‘demo.server.cz’, 8443, ‘/cas-web’, true) [CAS.php:347]
1426 .| | Starting a new session [Client.php:792]
1426 .| <= ''
1426 .<= ''
1426 .=> phpCAS::setNoCasServerValidation() [login.php:87]
1426 .| You have configured no validation of the legitimacy of the cas server. This is not recommended for production use. [CAS.php:1669]
1426 .<= ''
1426 .=> phpCAS::forceAuthentication() [login.php:90]
1426 .| => CAS_Client::forceAuthentication() [CAS.php:1101]
1426 .| | => CAS_Client::isAuthenticated() [Client.php:1083]
1426 .| | | => CAS_Client::_wasPreviouslyAuthenticated() [Client.php:1189]
1426 .| | | | no user found [Client.php:1375]
1426 .| | | <= false
1426 .| | | no ticket found [Client.php:1258]
1426 .| | <= false
1426 .| | => CAS_Client::redirectToCas(false) [Client.php:1092]
1426 .| | | => CAS_Client::getServerLoginURL(false, false) [Client.php:1396]
1426 .| | | | => CAS_Client::getURL() [Client.php:328]
1426 .| | | | | Final URI: https://demo.server.cz/egroupware/login.php?phpgw_forward=%2Fhome%2Findex.php [Client.php:3071]
1426 .| | | | <= 'https://demo.server.cz/egroupware/login.php?phpgw_forward=%2Fhome%2Findex.php’
1426 .| | | <= 'https://demo.server.cz:8443/cas-web/login?service=https%3A%2F%2Fdemo.server.cz%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%2Fhome%2Findex.php’
1426 .| | | Redirect to : https://demo.server.cz:8443/cas-web/login?service=https%3A%2F%2Fdemo.server.cz%2Fegroupware%2Flogin.php%3Fphpgw_forward%3D%2Fhome%2Findex.php [Client.php:1402]
1426 .| | | exit()
Log from CAS Server: without error, only information about succesfully granted tickets:
2013-01-14 11:41:13,085 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket [ST-953-dtVCDxb5O9btrsrDp3d9-cas] for service [https://demo.server.cz/egroupware/login.php?phpgw_forward=%2Fhome%2Findex.php] for user [jaluvka]>
2013-01-14 11:41:13,484 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - <Granted service ticket [ST-954-0Y1f7rof6QoximI9dg9z-cas] for service [https://demo.server.cz/egroupware/login.php?phpgw_forward=%2Fhome%2Findex.php] for user [jaluvka]>
Please, what im doing wrong?
Thanks for your help
Karel