tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregor Schneider" <rc4...@googlemail.com>
Subject Question regarding FormAutenticator
Date Tue, 02 Sep 2008 13:36:04 GMT
Hi guys,

I have quite a bit of a problem here.

Status quo:

We have some heavily framed static html, which now should be served by
Tomcat (5.5) only via SSL.
The whole content needs to be protected, so I've implemented a
FormAuthenticator.

However, the heavy framing *yuck* of this static html is giving me headaches:

When the Tomcat-session times out, the loginForm shows up as expected, however:

When the URl requested is something like

<a href="/somehwre/in/my/directory/stuff.html" target="someframe">

all the outer frames are lost and only the page
"/somehwre/in/my/directory/stuff.html" is displayed.

What I'd like to achieve is a redirect to "/" (index.html" after
entering the credentials into the LoginForm.

My hope was that I could solve this with the error-page-directive and
a 403-errorpage, however, there's no HTTP403-status.

I know that a while ago we had a similar problem, subclassed
"org.apache.catalina.authenticator.FormAuthenticator" and patched
Tomcat, but this is something I'd like to avoid.

So any ideas how a direct request to the root-context after every
login could be achieved?

TIA

Gregor
-- 
what's puzzlin' you, is the nature of my game
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

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


Mime
View raw message