Can I request that in both the methods;
* public synchronized boolean authenticate(String username,
String credentials)
* public synchronized String[] getUserRoles(String username)
the code
} catch( SQLException ex ) {
// Log the problem for posterity
log(sm.getString("jdbcRealm.authenticateSQLException",
username));
be changed to include a log of
log ("SQLException: "+ex.getMessage());
to assist in tracking down a wide range of database errors
(meta-data out of date, priviledge denied by database, missing
spellings of table and column names)
Many thanks
Scott, Esq.