public String getGlobusID ( String userID ) { if ( userID == null ) { throw new IllegalArgumentException ( i18n . getMessage ( "userIdNull" ) ) ; } if ( this . map == null ) { return null ; } Iterator iter = this . map . entrySet ( ) . iterator ( ) ; Map . Entry mapEntry ; GridMapEntry entry ; while ( iter . hasNext ( ) ) { mapEntry = ( Map . Entry ) iter . next ( ) ; entry = ( GridMapEntry ) mapEntry . getValue ( ) ; if ( entry . containsUserID ( userID ) ) { return entry . getGlobusID ( ) ; } } return null ; }
Returns globus ID associated with the specified local user name .