Class GridMapLocal

  • All Implemented Interfaces:
    Serializable

    public class GridMapLocal
    extends GridMap
    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:
    Serialized Form
    • Constructor Detail

      • GridMapLocal

        public GridMapLocal()
    • Method Detail

      • getUserIDs

        public String[] getUserIDs​(String globusID)
        Description copied from class: GridMap
        Returns local user names mapped to the specified globusID.
        Overrides:
        getUserIDs in class GridMap
        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

        public boolean checkUser​(String globusID,
                                 String userID)
        Description copied from class: GridMap
        Checks if a given globus ID is associated with given local user account.
        Overrides:
        checkUser in class GridMap
        Parameters:
        globusID - globus ID
        userID - userID
        Returns:
        true if globus ID is associated with given local user account, false, otherwise.