Am 12.08.2010 18:02, schrieb Julien Cochennec:
Le 11/08/2010 22:11, Joachim Fritschi a écrit :
Am 11.08.2010 20:38, schrieb Julien Cochennec:
Hi, I'd like to know something very simple and useful, where can I read
the exact content of a request that CAS transmits to a service when
using proxy mode?
On the CAS server please, of course :-)?
Can I read it on my client Log (phpCAS?).
Thanks.


Just enable debug log for phpCAS

phpCAS::setDebug('filename');

Great! I couldn't dispatch the results, thanks. Now the problem is clear :

I'm trying to catch the reason why Zimbra gives error when I try to
reach it from phpCAS.
The problem is not a phpCAS issue, I'm missing something.

when I look into phpCAS logs, no error, so I really made a working
proxy, which was one of my big purposes in life :-).
When I look into Zimbra logs and compare successfull calls and
unsuccessfull calls, there's something obvious :
- ZM-auth-key is missing, but it's a zimbra problem
- JSESSIONID is missing and this is not a zimbra problem

I'm working on the first step with zimbra forums guys.
The second step leads me to the conclusion I forgot something... How can
I add the JsessionID? It is a CAS parameter stored in cookie, right?
The documentation says I can present it instead of any tickets, right too?

When I look around in my cookie files, in firefox, I see one JSESSIONID,
how can I add it to the request send to CAS by phpCAS? Does it have
something to do with setHTMLHeader method?
I saw the syntax uses ";" char, where can I find Docs about it?

Sorry how did you casify zimbra? Are you using:

https://wiki.jasig.org/display/CAS/CASifying+Zimbra+6.0

JSESSIONID is nothing that phpCAS can provide. phpCAS can give you a PT that you submit to your casified zimbra webapp. You will get a JSESSIONID from the tomcat running your webapp and should be authenticated by the java cas client.

Can you use Zimbra with a "normal" cas login? Because if that doen't work proxy mode will never work ;)

Cheers,

Joachim





--
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