Class CreateRoles

java.lang.Object
edu.wisc.game.sql.CreateRoles

public class CreateRoles
extends Object
A very simple, stand-alone program that creates necessary Role entities in the roles table, and at least one User entity. This has been in use since GS 5.003, initially with just one role, "mlc" (for MLC result submitters).
  • Constructor Details

  • Method Details

    • main

      public static void main​(String[] argv)
      For each role name, checks if a Role object with that name already exists in the database, and if not, creates it. Also, creates certain users, or, if they already exists, resets their passwords.