Hello CAS experts,
I'm trying to validate using phpCAS to a Tomcat6 server and am able to do
it locally and remotely using the IP address of the CAS server by entering
in the username and password. I'm no way an expert with Java or Tomcat and
so I am not sure where to look in the catalina_base logs to determine the
problem may be happening. I can validate by directly going to the CAS
server do a login.
Can I get some direction on where to look in Tomcat?
You're help is appreciated.,
Mark
phpCAS log listed below.
FF2B .START phpCAS-1.3.1+ ****************** [CAS.php:450]
FF2B .=> phpCAS::client('2.0', '192.168.0.107', 8443, '/cas/login')
[examplecas.php:31]
FF2B .| => CAS_Client::__construct('2.0', false, '192.168.0.107', 8443,
'/cas/login', true) [CAS.php:347]
FF2B .| | Starting a new session [Client.php:792]
FF2B .| | Ticket 'ST-1-6pSDAyqqnzZ2cuurZasB-cas' found
[Client.php:870]
FF2B .| <= ''
FF2B .<= ''
FF2B .=> phpCAS::setNoCasServerValidation() [examplecas.php:40]
FF2B .| You have configured no validation of the legitimacy of the cas
server. This is not recommended for production use. [CAS.php:1663]
FF2B .<= ''
FF2B .=> phpCAS::forceAuthentication() [examplecas.php:43]
FF2B .| => CAS_Client::forceAuthentication() [CAS.php:1100]
FF2B .| | => CAS_Client::isAuthenticated() [Client.php:1083]
FF2B .| | | => CAS_Client::_wasPreviouslyAuthenticated()
[Client.php:1189]
FF2B .| | | | no user found [Client.php:1375]
FF2B .| | | <= false
FF2B .| | | CAS 2.0 ticket `ST-1-6pSDAyqqnzZ2cuurZasB-cas' is
present [Client.php:1223]
FF2B .| | | => CAS_Client::validateCAS20('', NULL, NULL)
[Client.php:1224]
FF2B .| | | | [Client.php:2738]
FF2B .| | | | => CAS_Client::getServerServiceValidateURL()
[Client.php:2744]
FF2B .| | | | | => CAS_Client::getURL() [Client.php:417]
FF2B .| | | | | | Final URI:
https://localhost/moodle/CAS/examplecas.php [Client.php:3062]
FF2B .| | | | | <= '
https://localhost/moodle/CAS/examplecas.php'
FF2B .| | | | <= '
https://192.168.0.107:8443/cas/login/serviceValidate?service=https%3A%2F%2Flocalhost%2Fmoodle%2FCAS%2Fexamplecas.php
'
FF2B .| | | | => CAS_Client::_readURL('
https://192.168.0.107:8443/cas/login/serviceValidate?service=https%3A%2F%2Flocalhost%2Fmoodle%2FCAS%2Fexamplecas.php&ticket=ST-1-6pSDAyqqnzZ2cuurZasB-cas',
NULL, NULL, NULL) [Client.php:2753]
FF2B .| | | | | => CAS_Request_CurlRequest::sendRequest()
[AbstractRequest.php:218]
FF2B .| | | | | | Response Body:
FF2B .| | | | | |
FF2B .| | | | | | [CurlRequest.php:82]
FF2B .| | | | | <= true
FF2B .| | | | <= true
FF2B .| | | | =>
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-1-6pSDAyqqnzZ2cuurZasB-cas',
false, true, '') [Client.php:2774]
FF2B .| | | | | => CAS_Client::getURL()
[AuthenticationException.php:76]
FF2B .| | | | | <= '
https://localhost/moodle/CAS/examplecas.php'
FF2B .| | | | | CAS URL:
https://192.168.0.107:8443/cas/login/serviceValidate?service=https%3A%2F%2Flocalhost%2Fmoodle%2FCAS%2Fexamplecas.php&ticket=ST-1-6pSDAyqqnzZ2cuurZasB-cas[AuthenticationException.php:79]
FF2B .| | | | | Authentication failure: Ticket not validated
[AuthenticationException.php:80]
FF2B .| | | | | Reason: bad response from the CAS server
[AuthenticationException.php:85]
FF2B .| | | | | CAS response:
[AuthenticationException.php:100]
FF2B .| | | | | exit()
FF2B .| | | | | -
FF2B .| | | | -
FF2B .| | | -
FF2B .| | -
FF2B .| -
--
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