Hi Mark,

On 30 Dec 2005 at 13:12, Mark Thomas wrote:

> Rob Hills wrote:
> > Hi All, 
> > 
> > In July 2004, Jonathan asked the question above and described my
> > problem exactly: 
> > 
> > "Is it possible to use a single login.jsp for multiple webapps?
> 
> Yes and no. You only have to write it once but it must be deployed
> with each webapp. You should be able to use your source control system
> and/or your build script to use the same files in multiple apps.
> 
> You might be able to do something with SSO and a webapp that only
> exists to provide authentication and a filter that redirects to the
> authentication webapp if required but this is essentially a more
> complex version of form authentication and getting all use cases
> working correctly is going to be much more work than a few lines in a
> build script.

Thanks for the info.  I was actually hoping to avoid all that as what I am 
setting up is a URL for clients to view website statistics.  The 
stats are automatically generated as static html files.  The plan was to keep 
it all simple by having a single site with a single login 
page and a context for each client's stats.  Our staff could log in to the root 
context and navigate to any of the contexts, but each 
client would only be able to get to the stats for their own site by being 
constrained to their own context.

I guess the easiest way is going to be either to copy, or symlink the login.jsp 
to each context :-(  The alternative will be to write 
something more complex based on a root-level login.jsp and some sort of 
redirection based on username - complexity I was hoping 
to avoid.

Rob Hills
Waikiki
Western Australia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to