View Javadoc

1   /*
2    * GUMSCommandLine.java
3    *
4    * Created on November 4, 2004, 1:40 PM
5    */
6   package gov.bnl.gums.admin;
7   
8   import gov.bnl.gums.command.GUMSCommandLine;
9   import gov.bnl.gums.configuration.Configuration;
10  
11  import org.apache.commons.logging.Log;
12  import org.apache.commons.logging.LogFactory;
13  
14  /**
15   * @author Gabriele Carcassi, Jay Packard
16   */
17  public class AdminCommandLine extends GUMSCommandLine {
18      private static Log log = LogFactory.getLog(AdminCommandLine.class);
19  
20      static {
21          GUMSCommandLine.addCommand("gov.bnl.gums.admin.GenerateOsgUserVoMap",
22              "Generate OSG-user-VO-map for a given service/host.");
23          GUMSCommandLine.addCommand("gov.bnl.gums.admin.GenerateGridMapfile",
24              "Generate grid-mapfile for a given service/host.");
25          GUMSCommandLine.addCommand("gov.bnl.gums.admin.GenerateFqanMapFile",
26          	"Generate FQAN-mapfile for a given service/host .");
27          GUMSCommandLine.addCommand("gov.bnl.gums.admin.GenerateVoGridMapfile",
28          	"Generate a VO grid-mapfile for a given service/host.");
29          GUMSCommandLine.addCommand("gov.bnl.gums.admin.ManualGroupAdd",
30              "Includes a DN in a group.");
31          GUMSCommandLine.addCommand("gov.bnl.gums.admin.ManualGroupRemove",
32              "Removes a DN from a group.");
33          GUMSCommandLine.addCommand("gov.bnl.gums.admin.ManualMappingAdd",
34              "Adds a DN-to-account mapping.");
35          GUMSCommandLine.addCommand("gov.bnl.gums.admin.ManualMappingRemove",
36              "Removes mapping for DN.");
37          GUMSCommandLine.addCommand("gov.bnl.gums.admin.MapUser",
38              "Maps a grid identity to a local account.");
39          GUMSCommandLine.addCommand("gov.bnl.gums.admin.PoolAddRange",
40              "Adds accounts to an account pool.");
41          GUMSCommandLine.addCommand("gov.bnl.gums.admin.PoolRemoveRange",
42          	"Removes accounts from an account pool.");
43          GUMSCommandLine.addCommand("gov.bnl.gums.admin.PoolUnassignRange",
44      		"Unassigns accounts from an account pool.");
45          GUMSCommandLine.addCommand("gov.bnl.gums.admin.PoolGetAssignments",
46          	"Get printout of current pool account assignments.");
47          GUMSCommandLine.addCommand("gov.bnl.gums.admin.UpdateGroups",
48              "Contact VO servers and retrieve user lists.");
49          GUMSCommandLine.addCommand("gov.bnl.gums.admin.ServerVersion",
50              "Retrieve GUMS server version.");
51          GUMSCommandLine.addCommand("gov.bnl.gums.admin.ClientVersion",
52          	"Retrieve GUMS client version.");
53          GUMSCommandLine.addCommand("gov.bnl.gums.admin.MapAccount",
54          	"Maps a local account to a grid identity.");
55          
56          // depricated
57          GUMSCommandLine.addCommand("gov.bnl.gums.admin.ManualGroup_Add",
58  	        "Includes a DN in a group (depricated; required with 1.1 server).");
59  	    GUMSCommandLine.addCommand("gov.bnl.gums.admin.ManualGroup_Remove",
60  	        "Removes a DN from a group  (depricated; required with 1.1 server).");
61  	    GUMSCommandLine.addCommand("gov.bnl.gums.admin.ManualMapping_Add",
62  	        "Adds a DN-to-username in a mapping  (depricated; required with 1.1 server).");
63  	    GUMSCommandLine.addCommand("gov.bnl.gums.admin.ManualMapping_Remove",
64  	        "Removes a DN from a mapping (depricated; required with 1.1 server).");
65          GUMSCommandLine.addCommand("gov.bnl.gums.admin.Pool_AddRange",
66          	"Adds accounts to an account pool (depricated; required with 1.1 server).");
67          GUMSCommandLine.addCommand("gov.bnl.gums.admin.GenerateGrid3UserVoMap",
68          	"Generate Grid3-user-VO-map for a given service/host (depricated; required with 1.1 server).");
69      }
70  
71  }