public static enum ConnectAuth.CredentialType extends java.lang.Enum<ConnectAuth.CredentialType>
Enum Constant and Description |
---|
VIR_CRED_AUTHNAME
Identify to authorize as
|
VIR_CRED_CNONCE
client supplies a nonce
|
VIR_CRED_ECHOPROMPT
Challenge response
|
VIR_CRED_EXTERNAL
Externally managed credential More may be added - expect the
unexpected
|
VIR_CRED_LANGUAGE
RFC 1766 languages, comma separated
|
VIR_CRED_NOECHOPROMPT
Challenge response
|
VIR_CRED_NONE
Fake credential so that the ordinal value equls the c value.
|
VIR_CRED_PASSPHRASE
Passphrase secret
|
VIR_CRED_REALM
Authentication realm
|
VIR_CRED_USERNAME
Identity to act as
|
Modifier and Type | Method and Description |
---|---|
int |
mapToInt()
Maps the java CredentialType Enum to libvirt's integer constant
|
static ConnectAuth.CredentialType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectAuth.CredentialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectAuth.CredentialType VIR_CRED_NONE
public static final ConnectAuth.CredentialType VIR_CRED_USERNAME
public static final ConnectAuth.CredentialType VIR_CRED_AUTHNAME
public static final ConnectAuth.CredentialType VIR_CRED_LANGUAGE
public static final ConnectAuth.CredentialType VIR_CRED_CNONCE
public static final ConnectAuth.CredentialType VIR_CRED_PASSPHRASE
public static final ConnectAuth.CredentialType VIR_CRED_ECHOPROMPT
public static final ConnectAuth.CredentialType VIR_CRED_NOECHOPROMPT
public static final ConnectAuth.CredentialType VIR_CRED_REALM
public static final ConnectAuth.CredentialType VIR_CRED_EXTERNAL
public static ConnectAuth.CredentialType[] values()
for (ConnectAuth.CredentialType c : ConnectAuth.CredentialType.values()) System.out.println(c);
public static ConnectAuth.CredentialType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int mapToInt()