org.libvirt
public static class ConnectAuth.CredentialType extends Enum<ConnectAuth.CredentialType>
Field Summary | |
---|---|
static List<ConnectAuth.CredentialType> | VALUES An immutable list containing the values comprising this enum class in the order they're declared. |
static ConnectAuth.CredentialType | VIR_CRED_AUTHNAME
Identify to authorize as |
static ConnectAuth.CredentialType | VIR_CRED_CNONCE
client supplies a nonce |
static ConnectAuth.CredentialType | VIR_CRED_ECHOPROMPT
Challenge response |
static ConnectAuth.CredentialType | VIR_CRED_EXTERNAL
Externally managed credential More may be added - expect the
unexpected |
static ConnectAuth.CredentialType | VIR_CRED_LANGUAGE
RFC 1766 languages, comma separated |
static ConnectAuth.CredentialType | VIR_CRED_NOECHOPROMPT
Challenge response |
static ConnectAuth.CredentialType | VIR_CRED_NONE
Fake credential so that the ordinal value equls the c value. |
static ConnectAuth.CredentialType | VIR_CRED_PASSPHRASE
Passphrase secret |
static ConnectAuth.CredentialType | VIR_CRED_REALM
Authentication realm |
static ConnectAuth.CredentialType | VIR_CRED_USERNAME
Identity to act as |
Method Summary | |
---|---|
List<ConnectAuth.CredentialType> | family() Returns an immutable list containing the values comprising this enum class in the order they're declared. |
static ConnectAuth.CredentialType | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
for(CredentialType c : CredentialType.VALUES) System.out.println(c);
VALUES
. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES
.Returns: an immutable list containing the values comprising this enum class, in the order they're declared.
Throws: IllegalArgumentException if this enum class has no constant with the specified name.