public User getUser(String username) {
		synchronized (fileSystem) {
			if (anonymousAccessAllowed && UserManager.ANONYMOUS_USERNAME.equals(username)) {
				return ANONYMOUS_USER;
			}
			User user = userMap.get(username);
			if (user == null && anonymousAccessAllowed) {
				// allow authenticated user to access repository in read-only mode
				return new User(username, User.READ_ONLY);
			}
			return user;
		}
	}
Get the specified user data.
If the repository's user list if missing or currupt, this user
will become its administrator.
@param username user name attempting repository access
@return user data
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/Repository.java