diff --git a/src/org/openbravo/authentication/lam/LamAuthenticationManager.java b/src/org/openbravo/authentication/lam/LamAuthenticationManager.java
--- a/src/org/openbravo/authentication/lam/LamAuthenticationManager.java
+++ b/src/org/openbravo/authentication/lam/LamAuthenticationManager.java
@@ -1,6 +1,6 @@
 /*
  ************************************************************************************
- * Copyright (C) 2001-2009 Openbravo S.L.U.
+ * Copyright (C) 2001-2011 Openbravo S.L.U.
  * Licensed under the Apache Software License version 2.0
  * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  * Unless required by applicable law or agreed to  in writing,  software  distributed
@@ -17,7 +17,6 @@
 import java.security.NoSuchAlgorithmException;
 
 import javax.servlet.ServletException;
-import javax.servlet.http.HttpServlet;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
@@ -26,33 +25,22 @@
 import org.openbravo.authentication.AuthenticationException;
 import org.openbravo.authentication.AuthenticationManager;
 import org.openbravo.base.HttpBaseUtils;
-import org.openbravo.database.ConnectionProvider;
 
 import com.spikesource.lam.bindings.LamClient;
 
 /**
  * 
  * @author adrian
+ * @author iperdomo
  */
-public class LamAuthenticationManager implements AuthenticationManager {
-
-  private ConnectionProvider conn = null;
+public class LamAuthenticationManager extends AuthenticationManager {
 
   /** Creates a new instance of LamAuthenticationManager */
   public LamAuthenticationManager() {
   }
 
-  public void init(HttpServlet s) throws AuthenticationException {
-
-    // TODO: Read LAM configuration.
-    if (s instanceof ConnectionProvider) {
-      conn = (ConnectionProvider) s;
-    } else {
-      throw new AuthenticationException("Connection provider required for LAM authentication");
-    }
-  }
-
-  public String authenticate(HttpServletRequest request, HttpServletResponse response)
+  @Override
+  public String doAuthenticate(HttpServletRequest request, HttpServletResponse response)
       throws AuthenticationException, ServletException, IOException {
 
     try {
@@ -78,7 +66,8 @@
     }
   }
 
-  public void logout(HttpServletRequest request, HttpServletResponse response)
+  @Override
+  public void doLogout(HttpServletRequest request, HttpServletResponse response)
       throws ServletException, IOException {
 
     try {
