tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@locus.apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/realm JDBCRealm.java
Date Sat, 16 Dec 2000 23:49:35 GMT
nacho       00/12/16 15:49:35

  Modified:    catalina/src/share/org/apache/catalina/realm JDBCRealm.java
  Log:
  Problems from hand made patches..
  
  Please send patches as attached files
  not embedded in messages....
  
  Thanks
  
  Revision  Changes    Path
  1.7       +1 -1      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/realm/JDBCRealm.java
  
  Index: JDBCRealm.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/realm/JDBCRealm.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JDBCRealm.java	2000/12/16 23:40:19	1.6
  +++ JDBCRealm.java	2000/12/16 23:49:35	1.7
  @@ -468,7 +468,7 @@
   	    ResultSet rs1 = preparedAuthenticate.executeQuery();
   	    boolean found = false;
   	    if (rs1.next()) {
  -                if( digest=="" || digest.equalsIgnoreCase("No")){
  +                if( digest.equals("") || digest.equalsIgnoreCase("No")){
                       if(credentials.equals(rs1.getString(1))) {
                           if(debug >= 2)
                               log(sm.getString("jdbcRealm.authenticateSuccess",
  
  
  

Mime
View raw message