Share via


PhoenixAuthenticationType Class

public final class PhoenixAuthenticationType
extends ExpandableStringEnum<PhoenixAuthenticationType>

The authentication mechanism used to connect to the Phoenix server.

Field Summary

Modifier and Type Field and Description
static final PhoenixAuthenticationType ANONYMOUS

Static value Anonymous for PhoenixAuthenticationType.

static final PhoenixAuthenticationType USERNAME_AND_PASSWORD

Static value UsernameAndPassword for PhoenixAuthenticationType.

static final PhoenixAuthenticationType WINDOWS_AZURE_HDINSIGHT_SERVICE

Static value WindowsAzureHDInsightService for PhoenixAuthenticationType.

Constructor Summary

Constructor Description
PhoenixAuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PhoenixAuthenticationType value.

Method Summary

Modifier and Type Method and Description
static PhoenixAuthenticationType fromString(String name)

Creates or finds a PhoenixAuthenticationType from its string representation.

static Collection<PhoenixAuthenticationType> values()

Gets known PhoenixAuthenticationType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ANONYMOUS

public static final PhoenixAuthenticationType ANONYMOUS

Static value Anonymous for PhoenixAuthenticationType.

USERNAME_AND_PASSWORD

public static final PhoenixAuthenticationType USERNAME_AND_PASSWORD

Static value UsernameAndPassword for PhoenixAuthenticationType.

WINDOWS_AZURE_HDINSIGHT_SERVICE

public static final PhoenixAuthenticationType WINDOWS_AZURE_HDINSIGHT_SERVICE

Static value WindowsAzureHDInsightService for PhoenixAuthenticationType.

Constructor Details

PhoenixAuthenticationType

@Deprecated
public PhoenixAuthenticationType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PhoenixAuthenticationType value.

Method Details

fromString

public static PhoenixAuthenticationType fromString(String name)

Creates or finds a PhoenixAuthenticationType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PhoenixAuthenticationType.

values

public static Collection<PhoenixAuthenticationType> values()

Gets known PhoenixAuthenticationType values.

Returns:

known PhoenixAuthenticationType values.

Applies to