cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/acting DatabaseAuthenticatorAction.java
Date Thu, 19 Jul 2001 19:46:25 GMT
bloritsch    01/07/19 12:46:25

  Modified:    src/org/apache/cocoon/acting Tag: cocoon_20_branch
                        DatabaseAuthenticatorAction.java
  Log:
  Fix authenticator action again
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.3   +6 -6      xml-cocoon2/src/org/apache/cocoon/acting/DatabaseAuthenticatorAction.java
  
  Index: DatabaseAuthenticatorAction.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/acting/DatabaseAuthenticatorAction.java,v
  retrieving revision 1.3.2.2
  retrieving revision 1.3.2.3
  diff -u -r1.3.2.2 -r1.3.2.3
  --- DatabaseAuthenticatorAction.java	2001/07/19 19:07:47	1.3.2.2
  +++ DatabaseAuthenticatorAction.java	2001/07/19 19:46:25	1.3.2.3
  @@ -1,4 +1,4 @@
  -// $Id: DatabaseAuthenticatorAction.java,v 1.3.2.2 2001/07/19 19:07:47 bloritsch Exp $
  +// $Id: DatabaseAuthenticatorAction.java,v 1.3.2.3 2001/07/19 19:46:25 bloritsch Exp $
   package org.apache.cocoon.acting;
   
   import java.sql.Connection;
  @@ -51,7 +51,7 @@
    * not verified.
    *
    * @author Martin Man <Martin.Man@seznam.cz>
  - * @version CVS $Revision: 1.3.2.2 $ $Date: 2001/07/19 19:07:47 $
  + * @version CVS $Revision: 1.3.2.3 $ $Date: 2001/07/19 19:46:25 $
    */
   public class DatabaseAuthenticatorAction extends AbstractDatabaseAction
   {
  @@ -102,8 +102,8 @@
               }
   
               getLogger ().debug ("DBAUTH: quuery is: " + query);
  -            Statement st = conn.createStatement ();
  -            ResultSet rs = st.executeQuery (query);
  +            st = conn.createStatement ();
  +            rs = st.executeQuery (query);
   
               if (rs.next ()) {
                   getLogger ().debug ("DBAUTH: authorized successfully");
  @@ -134,7 +134,7 @@
               if (conn != null) {
                   try {
                       conn.rollback();
  -                } catch (Exception e) {/* ignore */}
  +                } catch (Exception se) {/* ignore */}
               }
               getLogger().debug ("exception: ", e);
               return null;
  @@ -249,5 +249,5 @@
       }
   }
   
  -// $Id: DatabaseAuthenticatorAction.java,v 1.3.2.2 2001/07/19 19:07:47 bloritsch Exp $
  +// $Id: DatabaseAuthenticatorAction.java,v 1.3.2.3 2001/07/19 19:46:25 bloritsch Exp $
   // vim: set et ts=4 sw=4:
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message