public synchronized Repository getRepository(String currentUser, String name)
			throws UserAccessException {

		if (!isAnonymousUser(currentUser)) {
			validateUser(currentUser);
		}

		Repository rep = repositoryMap.get(name);
		if (rep != null) {
			rep.validateReadPrivilege(currentUser);
		}
		return rep;
	}
Get the Repository with the given name.
@param currentUser user making the request.
@param name name of the repository
@return null if no repository exists with the given name
@throws UserAccessException if the currentUser does not have
access to the repository
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/RepositoryManager.java