|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.security.gridmap.GridMap
| Field Summary | |
protected Map |
map
|
| Constructor Summary | |
GridMap()
|
|
| Method Summary | |
boolean |
checkUser(String globusID,
String userID)
Checks if a given globus ID is associated with given local user account. |
String[] |
getAllGlobusID(String userID)
Returns all globus IDs associated with the specified local user name. |
String |
getGlobusID(String userID)
Returns globus ID associated with the specified local user name. |
String |
getUserID(String globusID)
Returns first local user name mapped to the specified globusID. |
String[] |
getUserIDs(String globusID)
Returns local user names mapped to the specified globusID. |
void |
load(File file)
Loads grid map definition from a given file. |
void |
load(InputStream input)
Loads grid map file definition from a given input stream. |
void |
load(String file)
Loads grid map definition from a given file. |
void |
map(String globusID,
String userID)
|
static String |
normalizeDN(String globusID)
|
void |
refresh()
Reloads the gridmap from a file only if the gridmap was initially loaded using the load or load functions. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Map map
| Constructor Detail |
public GridMap()
| Method Detail |
public void load(String file)
throws IOException
file - grid map file
IOException - in case of I/O or
parsing error.
public void load(File file)
throws IOException
file - grid map file
IOException - in case of I/O or
parsing error.
public void refresh()
throws IOException
load or load functions.
The file will only be reloaded if it has changed
since the last time.
IOException - in case of I/O error during
reload.
public void load(InputStream input)
throws IOException
input - input stream containing grid map
definitions.
IOException - in case of I/O error or
parsing error.public String getUserID(String globusID)
globusID - globusID
public String[] getUserIDs(String globusID)
globusID - globusID
public boolean checkUser(String globusID,
String userID)
globusID - globus IDuserID - userID
public String getGlobusID(String userID)
userID - local user name
public String[] getAllGlobusID(String userID)
userID - local user name
public void map(String globusID,
String userID)
public static String normalizeDN(String globusID)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||