backend.services.auth.FlexUserServiceInterface Maven / Gradle / Ivy
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package backend.services.auth;
import db.auth.FlexUser;
import java.util.Collection;
import javax.ejb.Remote;
import backend.services.DBService;
/**
*
* @author zua
*/
@Remote
public interface FlexUserServiceInterface extends DBService {
public Collection findAllUsers();
public FlexUser findUserNamed(String username);
public FlexUser login(String username, String password);
public FlexUser register(String username, String password);
public void delete(FlexUser user);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy