Package edu.wisc.game.sql
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 Summary
Constructors Constructor Description CreateRoles()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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.
-
-