I apologize for the interruption, I just need a few minutes of your time. (see my comments below the output)
I am hoping you can help me. I'm unable to get CAS to validate and pass anything back. I get: *Warning*: DOMDocument::loadXML() [domdocument.loadxml<https://localhost/moodle/CAS/domdocument.loadxml>]: Empty string supplied as input in * C:\websites\moodle\CAS\source\CAS\Client.php* on line *2769* CAS Authentication failed! You were not authenticated. You may submit your request again by clicking here<https://localhost/moodle/CAS/examplecas.php> . If the problem persists, you may contact the administrator of this site<webmaster@localhost> . ------------------------------ phpCAS 1.3.1+ using server https://192.168.0.107:8443/cas/login/ (CAS 2.0) *Fatal error*: Uncaught exception 'CAS_AuthenticationException' in C:\websites\moodle\CAS\source\CAS\Client.php:2771 Stack trace: #0 C:\websites\moodle\CAS\source\CAS\Client.php(1224): CAS_Client->validateCAS20('https://192.168...', '', NULL) #1 C:\websites\moodle\CAS\source\CAS\Client.php(1083): CAS_Client->isAuthenticated() #2 C:\websites\moodle\CAS\source\CAS.php(1100): CAS_Client->forceAuthentication() #3 C:\websites\moodle\CAS\examplecas.php(43): phpCAS::forceAuthentication() #4 {main} thrown in *C:\websites\moodle\CAS\source\CAS\Client.php* on line * 2771 And the phpCAS log says this: *89B1 .START phpCAS-1.3.1+ ****************** [CAS.php:450] 89B1 .=> phpCAS::client('2.0', '192.168.0.107', 8443, '/cas/login') [examplecas.php:31] 89B1 .| => CAS_Client::__construct('2.0', false, '192.168.0.107', 8443, '/cas/login', true) [CAS.php:347] 89B1 .| | Starting a new session [Client.php:792] 89B1 .| | Ticket 'ST-3-WPFPfpQjyeaFslfC2MvZ-cas' found [Client.php:870] 89B1 .| <= '' 89B1 .<= '' 89B1 .=> phpCAS::setNoCasServerValidation() [examplecas.php:40] 89B1 .| You have configured no validation of the legitimacy of the cas server. This is not recommended for production use. [CAS.php:1663] 89B1 .<= '' 89B1 .=> phpCAS::forceAuthentication() [examplecas.php:43] 89B1 .| => CAS_Client::forceAuthentication() [CAS.php:1100] 89B1 .| | => CAS_Client::isAuthenticated() [Client.php:1083] 89B1 .| | | => CAS_Client::_wasPreviouslyAuthenticated() [Client.php:1189] 89B1 .| | | | no user found [Client.php:1375] 89B1 .| | | <= false 89B1 .| | | CAS 2.0 ticket `ST-3-WPFPfpQjyeaFslfC2MvZ-cas' is present [Client.php:1223] 89B1 .| | | => CAS_Client::validateCAS20('', NULL, NULL) [Client.php:1224] 89B1 .| | | | [Client.php:2738] 89B1 .| | | | => CAS_Client::getServerServiceValidateURL() [Client.php:2744] 89B1 .| | | | | => CAS_Client::getURL() [Client.php:417] 89B1 .| | | | | | Final URI: https://localhost/moodle/CAS/examplecas.php [Client.php:3062] 89B1 .| | | | | <= ' https://localhost/moodle/CAS/examplecas.php' 89B1 .| | | | <= ' https://192.168.0.107:8443/cas/login/serviceValidate?service=https%3A%2F%2Flocalhost%2Fmoodle%2FCAS%2Fexamplecas.php ' 89B1 .| | | | => CAS_Client::_readURL(' https://192.168.0.107:8443/cas/login/serviceValidate?service=https%3A%2F%2Flocalhost%2Fmoodle%2FCAS%2Fexamplecas.php&ticket=ST-3-WPFPfpQjyeaFslfC2MvZ-cas', NULL, NULL, NULL) [Client.php:2753] 89B1 .| | | | | => CAS_Request_CurlRequest::sendRequest() [AbstractRequest.php:218] 89B1 .| | | | | | Response Body: 89B1 .| | | | | | 89B1 .| | | | | | [CurlRequest.php:82] 89B1 .| | | | | <= true 89B1 .| | | | <= true 89B1 .| | | | => CAS_AuthenticationException::__construct(CAS_Client, 'Ticket not validated', ' https://192.168.0.107:8443/cas/login/serviceValidate?service=https%3A%2F%2Flocalhost%2Fmoodle%2FCAS%2Fexamplecas.php&ticket=ST-3-WPFPfpQjyeaFslfC2MvZ-cas', false, true, '') [Client.php:2774] 89B1 .| | | | | => CAS_Client::getURL() [AuthenticationException.php:76] 89B1 .| | | | | <= ' https://localhost/moodle/CAS/examplecas.php' 89B1 .| | | | | CAS URL: https://192.168.0.107:8443/cas/login/serviceValidate?service=https%3A%2F%2Flocalhost%2Fmoodle%2FCAS%2Fexamplecas.php&ticket=ST-3-WPFPfpQjyeaFslfC2MvZ-cas[AuthenticationException.php:79] 89B1 .| | | | | Authentication failure: Ticket not validated [AuthenticationException.php:80] 89B1 .| | | | | Reason: bad response from the CAS server [AuthenticationException.php:85] 89B1 .| | | | | CAS response: [AuthenticationException.php:100] 89B1 .| | | | | exit() 89B1 .| | | | | - 89B1 .| | | | - 89B1 .| | | - 89B1 .| | - 89B1 .| - I'm authenicating against the "org.jasig.cas.adaptors.generic.AcceptUsersAuthenticationHandler" and can login locally and remotely by going to the url and I get a successful login . I'm running CAS on Ubuntu and phpCAS on Win7. Both run SSL Any help would be appreciated Mark Richards * * On Mon, Jul 9, 2012 at 6:53 PM, Steve Swinsburg <[email protected]>wrote: > Congratulations to everyone involved in this release, this is an > impressive feature set! > > cheers, > Steve > > > On 10/07/2012, at 3:34 AM, Marvin Addison wrote: > > > The CAS development team is pleased to announce the release of 3.5.0. > > Although technically a minor release, it's a major milestone release > > providing a number of substantial new features of interest to the > > community: > > > > * OAuth protocol support (CAS-1041) > > * OpenID smart mode support (CAS-1115) > > * LDAP password policy enforcement > > * ClearPass integration (CAS-1102) > > * Extensible monitoring framework (CAS-1099) > > * Ehcache ticket registry (CAS-1076) > > * Memcached performance enhancements (CAS-1116) > > > > Please see the release notes [1] for a full description of changes. > > > > M > > > > [1] > https://issues.jasig.org/secure/ReleaseNote.jspa?projectId=10007&version=11287 > > > > -- > > 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 > > > -- > 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 > > -- Mark Richards [email protected] 850-485-3555 -- Mark Richards [email protected] 850-485-3555 -- 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
