Subversion Repositories SmartDukaan

Rev

Rev 2427 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1961 ankur.sing 1
package in.shop2020.catalog.dashboard.client;
2
 
3
import com.google.gwt.user.client.rpc.RemoteService;
4
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
5
 
6
@RemoteServiceRelativePath("login")
7
public interface LoginService extends RemoteService{
2427 ankur.sing 8
    /**
9
     * This method is called at the time of login to catalog dashboard (role = Utils.ROLE_STAGING)
10
     * and while pushing item to production (role = Utils.ROLE_PRODUCTION)
11
     * @param username
12
     * @param password
13
     * @param role
14
     * @return username if authentication is successful
15
     *      <br>null otherwise
16
     */
6788 rajveer 17
    String authenticateUser(String username, String password);
1961 ankur.sing 18
}