On 2013-08-02 11:27 am, KaTeLmE wrote:
Edit your cas.properties file to ensure that cas host points to your
domain. Reading that exception is pointed to "login.test-domain.edu
[5]"
If after login you have problems with session lossing... review all
view jsp and remove @page "session=true" attribute. Also, in
cas-servlet.xml, remove or comment the TerminateWebSessionListener
reference from SWF configuration.
No luck unfortunately.
Confirmed that cas.properties is set correctly. login.test-domain.edu
was just from me sanitizing the output before posting it.
After commenting out this:
<!--<webflow:flow-execution-listeners>
<webflow:listener ref="terminateWebSessionListener" />
</webflow:flow-execution-listeners>-->
and then rebuilding via "mvn package install", I'm still getting the
same errors.
I just tried out the phpCAS example_simple script and it is throwing
errors as well. Don't know if this is related.
CAS Authentication failed!
You were not authenticated.
[Fri Aug 02 13:12:44 2013] [error] [client 10.30.2.44] PHP Warning:
DOMDocument::loadXML(): Entity 'copy' not defined in Entity, line: 44 in
/usr/share/pear/CAS/Client.php on line 2778
[Fri Aug 02 13:12:44 2013] [error] [client 10.30.2.44] PHP Fatal error:
Uncaught exception 'CAS_AuthenticationException' in
/usr/share/pear/CAS/Client.php:2796\nStack trace:\n#0
/usr/share/pear/CAS/Client.php(1224):
CAS_Client->validateCAS20('https://login.t...', '??<!DOCTYPE htm...',
Object(DOMElement))\n#1 /usr/share/pear/CAS/Client.php(1083):
CAS_Client->isAuthenticated()\n#2 /usr/share/pear/CAS.php(1101):
CAS_Client->forceAuthentication()\n#3
/usr/share/html/cas/example_simple.php(38):
phpCAS::forceAuthentication()\n#4 {main}\n thrown in
/usr/share/pear/CAS/Client.php on line 2796
--
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