Hello.

I would like to implement the example_simple.php to my cas-server.



The
redirekt to my cas-server is ok. ->
https://xilef:8443/cas-server/login?service=http%3A%2F%2Fxilef%2Ftest%2Fexample_simple.php



I
authenticate with the credentials and the given URL looks nice:
http://xilef/test/example_simple.php?ticket=ST-1-iKngmSQcNGVcQ0OKD1o4-cas



I am note shure why the String is empty and why the validatePT() is called. 
Shouldn`t call it the validateST() ?

In PHP5 DOM is integrated? so I haben“t uncomment the extension in my php.ini?



This is the shown error-message:



-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------








 
  
  ( ! ) Warning:
  DOMDocument::loadXML() [domdocument.loadxml]: Empty
  string supplied as input in C:\xampp\htdocs\test\CAS\domxml-php4-to-php5.php
  on line 72
  
 
 
  
  Call Stack
  
 
 
  
  #
  
  
  Time
  
  
  Memory
  
  
  Function
  
  
  Location
  
 
 
  
  1
  
  
  0.0004
  
  
  68552
  
  
  {main}( )
  
  
  ..\example_simple.php:0
  
 
 
  
  2
  
  
  0.0372
  
  
  1525368
  
  
  phpCAS::forceAuthentication(
  )
  
  
  ..\example_simple.php:19
  
 
 
  
  3
  
  
  0.0377
  
  
  1526384
  
  
  CASClient->forceAuthentication(
  )
  
  
  ..\CAS.php:969
  
 
 
  
  4
  
  
  0.0382
  
  
  1526824
  
  
  CASClient->isAuthenticated(
  )
  
  
  ..\client.php:760
  
 
 
  
  5
  
  
  0.0409
  
  
  1530112
  
  
  CASClient->validatePT(
  )
  
  
  ..\client.php:888
  
 
 
  
  6
  
  
  2.1297
  
  
  1536880
  
  
  domxml_open_mem(
  )
  
  
  ..\client.php:2401
  
 
 
  
  7
  
  
  2.1298
  
  
  1537320
  
  
  DOMDocument->loadXML(
  )
  
  
  ..\domxml-php4-to-php5.php:72
  
 


CAS Authentication failed!

You were not
authenticated.

You may submit
your request again by clicking here.

If the
problem persists, you may contact the administrator of this site.







phpCAS
1.1.0RC1 using server https://xilef:8443/cas-server/login:443/ (CAS 2.0)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I hope somebody can help me. Please write me if you need more information.



Best regards Felix




_________________________________________________________________
http://redirect.gimas.net/?n=M0906xWLM2009
Neu: Messenger 2009! Hier kostenlos downloaden!
-- 
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