private Configuration getJAASConfig() {
		try {
			URI jaasConfigFileUri = jaasConfigFile.toURI();
			Configuration cfg =
				Configuration.getInstance("JavaLoginConfig", new URIParameter(jaasConfigFileUri));
			AppConfigurationEntry[] authEntry = cfg.getAppConfigurationEntry(loginContextName);
			if (authEntry == null) {
				throw new IllegalArgumentException("Missing '" + loginContextName +
					"' entry in JAAS config file: " + jaasConfigFile);
			}
			return cfg;
		}
		catch (NoSuchAlgorithmException e) {
			throw new RuntimeException("JAAS config error", e);
		}
	}
Creates a new {@link JAASAuthenticationModule} instance.

@param loginContextName the name of the configuration entry from the JAAS config to use
@param allowUserToSpecifyName flag, if true will include a {@link NameCallback} in the
{@link #getAuthenticationCallbacks()} list, which allows the user to specify a different
name than their {@link GhidraPrincipal}.
@param jaasConfigFile JAAS config file
@throws IllegalArgumentException if the loginContextName is not present in the JAAS configuration or
if the JAAS config file does not exist
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/security/JAASAuthenticationModule.java