shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Pederson <>
Subject Re: Include domain in user authentication
Date Tue, 06 Sep 2011 20:21:59 GMT
Do the users for the two sites need to be in the same DB?

-- Eric

On Tue, Sep 6, 2011 at 1:32 PM, wmjasonward <> wrote:

> I'm creating a webapp that will be white-labeled and I need to allow
> different domains to have overlapping usernames.  For example, www.a.comand
> could both have users named 'jason' even though both domains are
> being serviced by the same underlying webapp (using Tomcat).  The user
> 'jason' on domain is a different person than the user 'jason' on
> Also, I'll be using a database to store user information.  I prefer to work
> with the Stable Shiro 1.1 but will consider moving up to Shiro 1.2 if it
> makes this task easier and the functions I need are stable.
> I'm just getting started with Shiro and am of course on a compressed
> timeline so I'd appreciate any help getting me pointed in the right
> direction on how to do this (wrap the filter, override the realm, etc.).
> Thanks!
> Jason
> --
> View this message in context:
> Sent from the Shiro User mailing list archive at

View raw message