On Wed, 21 Mar 2001 [EMAIL PROTECTED] wrote:
> I want to use the single sign on capabilities of Tomcat4 with FORM based
> authentication. However it does not seem possible to define a single login
> and error page. Even though single sign on and a Realm are specified in
> $TOMCAT_HOME/conf/server.xml, and FORM authentication is specified in
> $TOMCAT_HOME/conf/web.xml (e.g. to use /login/login.html as the login page),
> when there is a need to authenticate from a particular webapp, the login
> page is referenced relative to the context (e.g
> $TOMCAT_HOME/webapps/myapp/login/login.html). This would involve copying the
> login pages into every webapp, which gives a maintenance problem.
>
> So in essense the question is: Is there a way to specify a "global" login
> and error page that will be used by all webapps?
>
No. Each web application is still a stand-alone entity.
What single sign on support does for you is remember that you've signed on
already. You are still using whatever login mechanism is defined for each
individual web app. They don't even have to all use the same approach
(some could be BASIC, some could be FORM, for example).
> Many thanks
>
> Tim
>
Craig McClanahan