Package org.globus.gsi.gridmap
Class GridMapLocal
java.lang.Object
org.globus.gsi.gridmap.GridMap
org.globus.gsi.gridmap.GridMapLocal
- All Implemented Interfaces:
Serializable
Gridmap implementation with a local username lookup feature.
If the gridmap is uninitialized the getUserID, getUserIDs,
and checkUser functions will effectively ignore their
globusID parameter. For example, getUserID and
getUserIDs will return the local user name for any
globusID.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.globus.gsi.gridmap.GridMap
GridMap.GridMapEntry
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if a given globus ID is associated with given local user account.private String
String[]
getUserIDs
(String globusID) Returns local user names mapped to the specified globusID.Methods inherited from class org.globus.gsi.gridmap.GridMap
getAllGlobusID, getDefaultGridMapLocation, getFileName, getGlobusID, getIgnoreErrors, getUserID, load, load, load, map, normalizeDN, refresh, setIgnoreErrors
-
Constructor Details
-
GridMapLocal
public GridMapLocal()
-
-
Method Details
-
getUserIDs
Description copied from class:GridMap
Returns local user names mapped to the specified globusID.- Overrides:
getUserIDs
in classGridMap
- Parameters:
globusID
- globusID- Returns:
- array of local user names for the specified globusID. Null if the globusID is not mapped to any local user name.
-
checkUser
Description copied from class:GridMap
Checks if a given globus ID is associated with given local user account. -
getLocalUsername
-