how to override jdbc realm to read my tables for authentication
Posted on 2002-06-12
i would like to know how to override tomcat jdbc realm to read my authentication table to get the appropriate info.
jdbc realm expects 3 tables, user, role and user_role and the passwords are not encrypted. i have my own table and the passwords are encrypted. how do i change tomcat jdbc realm to read my table and encrpyt the incoming password and do the comparision. can i inherit the realm classes and if so which method to override.