1 package edu.rice.rubis.beans; 2 3 import javax.ejb.*; 4 import java.rmi.*; 5 6 /** 7 * This is the local Interface of the SB_Auth Bean 8 * @author <a HREF="mailto:cecchet@rice.edu">Emmanuel Cecchet</a> and <a HREF="mailto:julie.marguerite@inrialpes.fr">Julie Marguerite</a> 9 * @version 1.1 10 */ 11 public interface SB_AuthLocal extends EJBLocalObject { 12 13 /** 14 * Describe <code>authenticate</code> method here. 15 * 16 * @param name user nick name 17 * @param password user password 18 * @return an <code>int</code> value corresponding to the user id or -1 on error 19 */ 20 public int authenticate (String name, String password); 21 22 23 } 24