Re: Multiple organisations in one realm with unique logins per organisations?

2002-12-17 Thread Ben Jessel
Sounds like you're going to need to create a custom realm in order do do
that extra select on the organisation.
Though, if you're going to have unique usernames throughout the system (
regardless of organisation ), then you could
work around this by having the organisations mapped to the user in the
user_role table. eg,

user password
userA  passA
userB  passB
userC  passC

user  role
userA   OrganisationA
userB   OrganisationA
userC   OrganisationC

Then you could restrict access to the different organisational areas of the
sites based on roles. Not the nicest solution, I think creating a custom
realm would be much more up your street. It's in the documentation.

Thanks

Ben

- Original Message -
From: "Marc van de Geijn" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 12:12 PM
Subject: Multiple organisations in one realm with unique logins per
organisations?


> Hi there,
>
> I'm developing an application which will support multiple organisations
> within one realm and one MySQL database.
>
> When users log into the application, I would like to make them enter their
> organisation name, their login and their password. Combining the login and
> the organisation name identifies the user unique in the realm/database.
>
> Is this possible with the standard authentication in Tomcat? Or are there
> other ways to do this?
>
> Thanks,
> Marc
>
> P.S. I hope I explained this problem correctly. Otherwise, just ask for
more
> information.
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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




Multiple organisations in one realm with unique logins per organisations?

2002-12-17 Thread Marc van de Geijn
Hi there,

I'm developing an application which will support multiple organisations
within one realm and one MySQL database.

When users log into the application, I would like to make them enter their
organisation name, their login and their password. Combining the login and
the organisation name identifies the user unique in the realm/database.

Is this possible with the standard authentication in Tomcat? Or are there
other ways to do this?

Thanks,
Marc

P.S. I hope I explained this problem correctly. Otherwise, just ask for more
information.


--
To unsubscribe, e-mail:   
For additional commands, e-mail: