|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.gums.CoreLogic
public class CoreLogic
The main interface of the core logic for GUMS, allows to update the groups, generate the gridMapfiles and to map a single user.
Constructor Summary | |
---|---|
CoreLogic(GUMS gums)
Creates a Resource Manager for a particular instance of the GUMS server. |
Method Summary | |
---|---|
String |
generateFqanMapfile(String hostname)
Generates a fqan to account mapping for a given host and prints it to out. |
String |
generateGridMapfile(String hostname,
boolean createNewMappings,
boolean includeFQAN,
boolean includeEmail)
Generates a grid mapfile for a given host and prints it to out. |
String |
generateOsgUserVoMap(String hostname)
|
String |
map(String hostname,
GridUser user,
boolean checkBannedList)
Maps a user to a local account for a given host to a grid identity. |
String |
mapAccount(String accountName)
Map a local account to a list of grid identity |
void |
updateBannedGroups()
Scans the configuration and calls updateMembers() on all the banned groups, updating the local database. |
void |
updateGroups()
Scans the configuration and calls updateMembers() on all the groups, updating the local database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoreLogic(GUMS gums)
gums
- Method Detail |
---|
public String generateOsgUserVoMap(String hostname) throws Exception
hostname
-
Exception
public String generateFqanMapfile(String hostname) throws Exception
hostname
-
Exception
public String generateGridMapfile(String hostname, boolean createNewMappings, boolean includeFQAN, boolean includeEmail) throws Exception
hostname
- includeFQAN
-
Exception
public String map(String hostname, GridUser user, boolean checkBannedList) throws Exception
hostname
- user
-
Exception
public String mapAccount(String accountName) throws Exception
accountName
-
Exception
public void updateGroups() throws Exception
Exception
public void updateBannedGroups() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |