tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Troy Davis <t...@editspot.com>
Subject Re: JDBCRealm authentication
Date Tue, 24 Feb 2009 05:44:11 GMT
Hi Alex,

In most circumstances I would recommend otherwise, I've been surprised  
by several apps I've written where users develop a need to belong to  
multiple groups.

But I've done the same thing for unusual circumstances, just give the  
same table name for the realm's config values.

HTH,
Troy



On Feb 23, 2009, at 9:50 PM, Alexander Soudakov <souda@chem.psu.edu>  
wrote:

> Hi everybody,
>
> I have a question about JDBCRealm authentication in Tomcat 5.5. I'm  
> trying to use mysql database for authentication and I was wondering  
> if it is possible to use just one single table with usernames,  
> passwords and role names instead of two with usernames, passwords  
> and with usernames, role names, as it is explained in the  
> documentation. So, in the server.xml, in the JDBCRealm definition, I  
> would use the same name for userTable and userRoleTable.
>
> Thanks,
> Alex
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Mime
View raw message