Use a view

-Tim

Nathan Coast wrote:
Hi,

I have the following db structure for my user / role tables:

  User          User-Role         Role
----------     -----------      ----------
       id ------ user_id
 username        rold_id ------- id
 password                        rolename


Is there a realm implementation that support this structure?

AFAICT, the JDBC and DataSourceRealm classes require the following structure:

  User           User-Role
----------      -----------
 username ------ username
 password        role_name


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



Reply via email to