Joachim,
thanks for your reply. I think the cas server does not redirect correctly my 
browser, once I have entered username/pwd.
I attach http headers I've sniffed within my web browser (Mozilla).
Note that SUBLQ11486.dom2.ad.sys is 83.103.115.222.

In line 24, it seems that the server wants to redirect the browser at 
https://83.103.115.222/dds/, while I expect http://10.115.0.46/DDS/

Then proxyValide is call with 
service=http%3A%2F%2FSUBLQ11486.dom2.ad.sys%2FDDS%2F&ticket=... as service 
(instead of service=http%3A%2F%2F10.115.0.46%2FDDS%2F&ticket=... ).
Then the cas refuses the authorization.

Thank for your help

-- 
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
https://83.103.115.222/cas/login;jsessionid=7283912CDB111FB3AA5E6B3C1A9731D6?service=http%3A%2F%2F10.115.0.46%2FDDS%2F

POST 
/cas/login;jsessionid=7283912CDB111FB3AA5E6B3C1A9731D6?service=http%3A%2F%2F10.115.0.46%2FDDS%2F
 HTTP/1.1
Host: 83.103.115.222
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101026 
SUSE/3.6.12-0.7.1 Firefox/3.6.12
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: 
https://83.103.115.222/cas/login?service=http%3A%2F%2F10.115.0.46%2FDDS%2F
Cookie: JSESSIONID=7283912CDB111FB3AA5E6B3C1A9731D6
Content-Type: application/x-www-form-urlencoded
Content-Length: 129
username=pippo&password=pippo&lt=_cC60728B6-D365-1D5C-7B25-707D43FCB571_kC7C6CBC7-0D4F-7614-14B4-D5D0C0F839FA&_eventId=submit
HTTP/1.1 302 Moved Temporarily
Date: Mon, 20 Dec 2010 10:54:25 GMT
Pragma: No-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache, no-store
Set-Cookie: CASPRIVACY=""; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/cas
Set-Cookie: 
CASTGC=TGT-691-35z5VZsXvusJCZ5yU3qob6hK1mMiMZ3MQAGPgZP1ZuiFCWO2wF-cas; Path=/cas
Location: https://83.103.115.222/dds/?ticket=ST-1454-QFFlgXKc4nhpamSOebAr-cas
Content-Language: en-US
Content-Length: 0
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/plain
----------------------------------------------------------
https://83.103.115.222/dds/?ticket=ST-1454-QFFlgXKc4nhpamSOebAr-cas

GET /dds/?ticket=ST-1454-QFFlgXKc4nhpamSOebAr-cas HTTP/1.1
Host: 83.103.115.222
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101026 
SUSE/3.6.12-0.7.1 Firefox/3.6.12
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: 
https://83.103.115.222/cas/login?service=http%3A%2F%2F10.115.0.46%2FDDS%2F

HTTP/1.1 200 OK
Date: Mon, 20 Dec 2010 11:50:44 GMT
Server: Apache/2.2.13 (Linux/SUSE)
X-Powered-By: PHP/5.3.2
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Content-Type: text/html
Set-Cookie: CAKEPHP=rcdt5c7afmm0m90f33i4dino2are87sh; path=/DDS
Via: 1.1 SUBLQ11486.dom2.ad.sys
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 320
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
----------------------------------------------------------

Reply via email to