Package edu.wpi.cs.wpisuitetng.database

Examples of edu.wpi.cs.wpisuitetng.database.DataStore


    this.auth = new BasicAuth();
    this.man = ManagerLayer.getInstance();
    this.sessions = man.getSessions();
   
    // add the test user to the database
    DataStore db = DataStore.getDataStore();
    String hashedPassword = new Sha256Password().generateHash("jayms");
    this.u = new User("Tyler", "twack", hashedPassword, 5);
    db.save(this.u);
  }
View Full Code Here

TOP

Related Classes of edu.wpi.cs.wpisuitetng.database.DataStore

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.