tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nacho <na...@siapi.es>
Subject RE: JDBCRealm code change pls.
Date Mon, 04 Dec 2000 14:30:45 GMT
done in 3.3, thanks

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Scott Hamilton [mailto:hamilton@grunj.cat.org.au]
> Enviado el: martes 5 de diciembre de 2000 5:30
> Para: tomcat-user@jakarta.apache.org
> Asunto: JDBCRealm code change pls.
> 
> 
> 
> 
>      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.
> 

Mime
View raw message