Package com.juggernet.impl.domain

Examples of com.juggernet.impl.domain.User


  @Override
  public Boolean Authenticate(String username, String password) {

    logger.debug("Authenticate({},{})", username, password);

    User u = new User();
    u.setFirstName("Juan");
    u.setLastName("Ayala");

    User saved = _userRepo.save(u);
    return saved.getId() > 0;
  }
View Full Code Here


  public IUser getUser(Long id) {

    logger.info("getUser({})", id);

    User u = new User() {
      {
        setFirstName("Juan");
        setLastName("Ayala");
      }
    };
    u.setId(id);
    return u;
  }
View Full Code Here

TOP

Related Classes of com.juggernet.impl.domain.User

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.