Package com.sivalabs.angularcrud.entities

Examples of com.sivalabs.angularcrud.entities.Role


 
  void initDBWithServices()
  {
    logger.info("Initializing Database with sample data");
   
    Role role1 = new Role("ROLE_USER");
    Role role2 = new Role("ROLE_ADMIN");
   
    User user1 = new User(1, "admin@gmail.com", "admin", "Administrator");
    User user2 = new User(2, "siva@gmail.com", "siva", "Siva");
   
    user1.addRoles(role1, role2);
View Full Code Here

TOP

Related Classes of com.sivalabs.angularcrud.entities.Role

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.