View Javadoc

1   /*
2    * GUMSAPI.java
3    *
4    * Created on October 28, 2004, 9:36 AM
5    */
6   
7   package gov.bnl.gums.admin;
8   
9   import java.rmi.Remote;
10  
11  /*** Interface to the GUMS admin functionality. All accesses to GUMS will go through
12   * an implementation of this class. This also serves as a definition to the admin
13   * service.
14   *
15   * @author  Gabriele Carcassi
16   */
17  public interface GUMSAPI extends Remote {
18      /***
19       * Generate the inverse entry->VO map used by OSG.
20       * @param hostname Host name to generate the map for.
21       * @return The map, or null if no map is found
22       */
23      String generateGrid3UserVoMap(String hostname);
24      String generateGridMapfile(String hostname);
25      void manualGroupAdd(String persistanceFactory, String group, String userDN);
26      void manualGroupRemove(String persistanceFactory, String group, String userDN);
27      void manualMappingAdd(String persistanceFactory, String group, String userDN, String account);
28      void manualMappingRemove(String persistanceFactory, String group, String userDN);
29      void poolAddAccount(String persistanceFactory, String group, String username);
30      String mapUser(String hostname, String userDN, String fqan);
31      void mapfileCacheRefresh();
32      void updateGroups();
33  }