-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Julio,

On 6/8/2010 3:27 PM, antongiuli...@gmail.com wrote:
> Hi,
> 
> I have a webapp (Spring+Hibernate) running on Tomcat 5.5.15. Tomcat is 
> configured for Single-Sign-On and it works fine with the login system of the 
> application (typical login/password).
> 
> Anyway at the moment it's not well working when an external link is executed 
> from a Word file (Microsoft Office 2003/2007 - more info here: 
> http://support.microsoft.com/kb/899927).
> Basically when the link requires a protected page, normally the user is 
> redirected to the login page and, after a successful login, the page should 
> be displayed. But it happens only if the user Copy&Paste the link on the 
> browser URL bar. Instead, if he clicks on the Word file after the login, he 
> is redirected to the default home page.
> 
> I debugged the application, browser cookies and http sessions and it looks 
> like another session is created:
> 
> 1) when the link is sent ("200") to the application
> 2) it returns "302" http status and JSESSIONID (strangely this value is 
> always the same)
> 2) Word requires connection again ("200")
> 3) A new JSESSIONID cookie is created differently from the 1) and returns 
> "200"
> 
> the changed session of course cause of the application fails the redirection 
> after login.
> 
> How can I configure Tomcat to make it work with this kind of connection and 
> keeping on work with the usual login via browser?

Can you give us an example of a URL that looks like it should work from
Word (but doesn't) but does work properly when you copy/paste?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwO4cIACgkQ9CaO5/Lv0PBZ7wCeK+7Kdiz49ejHjKIH7LXcapVU
DGEAnR/AWA6d8nLjuAKHYIx35rqOk7YW
=sN1Q
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to