Package org.jrest4guice.sample.contact.entity

Examples of org.jrest4guice.sample.contact.entity.User


  @Inject
  private BaseEntityManager<String, Role> roleEntityManager;

  @Transactional(type = TransactionalType.READOLNY)
  public boolean authUser(String name, String password) {
    User user = this.userEntityManager.load(
        "named:byNameAndPassword", name, MD5Util.toMD5(password));
    return user != null;
  }
View Full Code Here

TOP

Related Classes of org.jrest4guice.sample.contact.entity.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.