tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Login config
Date Thu, 04 Dec 2008 22:17:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christophe,

FARNIER Christophe wrote:
> I installed a tomcat 5.5.27 with an application and I configure the
> web.xml of the application by introducing a security constraint and a
> login config with a form. My login page is not in the security
> directory. So when I launch Tomcat and I access to my application  with
> restriction, the login page is displaying but the URL address is not my
> login page, it is the security directory.
>  
> What can I do for displaying the correct URL? The problem does not
> appear with the Tomcat 4.

Technically, this is not a problem. The behavior of Tomcat changed
between version 4 and 5: TC4 sent a redirect to the client to re-request
the login page, while TC5 does an internal forward to the login page.

You can manually send a redirect from your login page if the URL doesn't
look right to you. Is it a problem for you to display the "wrong" URL in
this case?

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

iEYEARECAAYFAkk4VucACgkQ9CaO5/Lv0PAM/ACgppquSYlqMhIAWxegNLtB8QvX
lXYAoKsdSL7DshhvFm1ntBxhzmAzZiAJ
=DTmD
-----END PGP SIGNATURE-----

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


Mime
View raw message