Beispiel #1
0
 @WebMethod
 public String getPassword(String email) throws JAXBException, IOException {
   SocialApp app = getSocialApp();
   Users users = app.getUsers();
   User user = users.getUser(email);
   return user.getPassword();
 }
Beispiel #2
0
 @WebMethod
 public User login(String email, String password) throws JAXBException, IOException {
   SocialApp app = getSocialApp();
   Users users = app.getUsers();
   return users.logon(email, password);
 }
Beispiel #3
0
 @WebMethod
 public User getUser(String email) throws JAXBException, IOException {
   SocialApp app = getSocialApp();
   Users users = app.getUsers();
   return users.getUser(email);
 }