tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: form-based auth
Date Sat, 01 Feb 2003 09:10:21 GMT

"Craig R. McClanahan" <craigmcc@apache.org> wrote in message
news:20030131234930.R86672@icarus.apache.org...
>
>
> On Fri, 31 Jan 2003, Bill Barker wrote:
>
> > Date: Fri, 31 Jan 2003 22:54:38 -0800
> > From: Bill Barker <wbarker@wilshire.com>
> > Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> > To: tomcat-user@jakarta.apache.org
> > Subject: Re: form-based auth
> >
> >
> > "Craig R. McClanahan" <craigmcc@apache.org> wrote in message
> > news:20030131155727.V93881@icarus.apache.org...
> > >
> > >
> > > On Fri, 31 Jan 2003, Madere, Colin wrote:
> > >
> > > > Date: Fri, 31 Jan 2003 14:06:27 -0600
> > > > From: "Madere, Colin" <colin.madere@ieminc.com>
> > > > Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
> > > > To: "'tomcat-user@jakarta.apache.org'"
<tomcat-user@jakarta.apache.org>
> > > > Subject: form-based auth
> > > >
> > > > Anyone out there have multiple contexts (or simply multiple webapps)
> > > > authenticating with the same form (login form in a single location)?
> > >
> > > The form login page has to be within the webapp, so this is not
possible.
> >
> > Well, not really true. It's an all-or-nothing thing.  If you use
> > Single-Sign-On, then your login applies to all webapps once you log on
to
> > one of them.  But, without writing your own custom Valve, you can't pick
and
> > choose which contexts get to see the login.
> >
>
> It is true that the user's authentication applies to all webapps when you
> use SingleSignonValve, but I understood the initial question to be "can I
> share a single copy of the form login page across multiple webapps".  And
> that is something you cannot do -- each app needs their own login page
> (since the path for the <form-login-page> element is context-relative, not
> server-relative).
>

Ok, you've got a point.  Still, I routinely get around it (at least on *nix
systems), by using sym-links and Entities.

> Craig




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


Mime
View raw message