static Callback[] createSimpleNamePasswordCallbacks(boolean allowUserToSpecifyName) {
		PasswordCallback passCb = new PasswordCallback(PASSWORD_CALLBACK_PROMPT + ":", false);
		if (allowUserToSpecifyName) {
			NameCallback nameCb = new NameCallback(USERNAME_CALLBACK_PROMPT + ":");
			return new Callback[] { nameCb, passCb };
		}
		return new Callback[] { passCb };
	}
Creates a standard pair of name and password callback instances.

@param allowUserToSpecifyName boolean flag, if false, a name callback is not added to the results
@return an array of callbacks
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/security/AuthenticationModule.java