RE: RealmJDBC question

2002-03-08 Thread Barney Hamish
The queries tomcat uses are hardcoded. Given the way JDBC Realms are implemented on Tomcat you've only got two choices: 1. Modify the existing org.apache.tomcat.request.JDBCRealm to use the query you want it to use. 2. Write your own request interceptor from scratch. Have a look at the source

Re: RealmJDBC question

2002-03-08 Thread RAYMOND Romain
Thanks and have a good day Barney Hamish a écrit : The queries tomcat uses are hardcoded. Given the way JDBC Realms are implemented on Tomcat you've only got two choices: 1. Modify the existing org.apache.tomcat.request.JDBCRealm to use the query you want it to use. 2. Write your own

Re: RealmJDBC question

2002-03-08 Thread Christian Froehler
RAYMOND Romain wrote: Hello, I would like to implement RealmJDBC to get userrole from my DB, but I have to find the role (and so the associated table's row) from foreign keys depending on others parameters than user login row ... is it clear, and anybody has links or docs about this ?

Re: RealmJDBC question

2002-03-08 Thread RAYMOND Romain
yeah thanks it is a good idea which is an ideal solution for my application Christian Froehler a écrit : RAYMOND Romain wrote: Hello, I would like to implement RealmJDBC to get userrole from my DB, but I have to find the role (and so the associated table's row) from foreign keys