private String updateMissingGroupAccessId ( AuthzTableContainer maps , Group group , String groupNameFromRole ) { String accessIdFromRole ; accessIdFromRole = getMissingAccessId ( group ) ; if ( accessIdFromRole != null ) { maps . groupToAccessIdMap . put ( groupNameFromRole , accessIdFromRole ) ; } else { // Unable to compute the accessId, store an invalid access ID indicate this // and avoid future attempts maps . groupToAccessIdMap . put ( groupNameFromRole , INVALID_ACCESS_ID ) ; } return accessIdFromRole ; }
Update the map for the specified group name . If the accessID is successfully computed the map will be updated with the accessID . If the accessID can not be computed due to the user not being found INVALID_ACCESS_ID will be stored .