You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/12/22 00:08:38 UTC
DO NOT REPLY [Bug 5564] New: -
JDBCRealm and Interbase 6
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5564>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5564
JDBCRealm and Interbase 6
Summary: JDBCRealm and Interbase 6
Product: Tomcat 4
Version: 4.0.1 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Blocker
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: dienovat@tin.it
Using Interbase for JDBCRealm I get a java.lang.NullPointerException and a HTTP
500 - Internal server error on the client.
Looking in the JDBCRealm.java code I discovered the error in the authenticate
method:
public Principal authenticate(String username, String credentials) {
try {
....
} catch (SQLException e) {
....
}
}
Interbase raises a NullPointerException when username and credential are null
(as this method is called the first time), but this exception isn't catched.
Thanks
Diego
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>