|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ConnectAuth.CredentialType>
org.libvirt.ConnectAuth.CredentialType
public static enum ConnectAuth.CredentialType
| Enum Constant Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
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
| Method Detail |
|---|
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 name
java.lang.NullPointerException - if the argument is nullpublic int mapToInt()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||