public static AuthMode fromIndex(int index) {
			//@formatter:off
			switch ( index) {
				case 0: return PASSWORD_FILE_LOGIN;
				case 1: return KRB5_AD_LOGIN;
				case 2: return PKI_LOGIN;
				case 4: return JAAS_LOGIN;
				default: return null;
			}
			//@formatter:on
		}
<code>GhidraServer</code> provides the main Ghidra server application and
implements GhidraServerHandle which facilitates remote access to services
provided by a repository manager. The single instance of GhidraServer is set
within the RMI Registry which is accessible on a user specified port.
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/remote/GhidraServer.java