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=17908>. 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=17908 JDBCRealm getPassword() unimplemented Summary: JDBCRealm getPassword() unimplemented Product: Tomcat 4 Version: 4.1.18 Platform: Other OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] I was unable to authenticate using digest authentication scheme. I have unencrypted passwords stored in database. I browsed through the code and found that getPassword()(and getPrincipal) method in JDBCRealm returns null (harcoded). Following is the configuration I am using server.xml: ---------- <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99" digest="MD5" driverName="oracle.jdbc.driver.OracleDriver" connectionURL="jdbc:oracle:thin:@lohgad:1521:dsoft" connectionName="uddhav" connectionPassword="uddhav" userTable="tab_users" userNameCol="user_name" userCredCol="user_pass" userRoleTable="tab_user_roles" roleNameCol="role_name" /> web.xml: --------- <login-config> <auth-method>DIGEST</auth-method> <realm-name>OnJava Application</realm-name> </login-config> I modified my local copy of JDBCRealm to include implementations of getPassword () and getPrincipal(). These return the correct values now. Was this left unimplemented with a purpose? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]