Example #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();
 }
Example #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);
 }
Example #3
0
 @WebMethod
 public User getUser(String email) throws JAXBException, IOException {
   SocialApp app = getSocialApp();
   Users users = app.getUsers();
   return users.getUser(email);
 }