org.libvirt
public abstract class ConnectAuth extends Object implements Libvirt.VirConnectAuthCallback
| Nested Class Summary | |
|---|---|
| class | ConnectAuth.Credential |
| static class | ConnectAuth.CredentialType |
| Field Summary | |
|---|---|
| ConnectAuth.CredentialType[] | credType
List of supported ConnectCredential.CredentialType values |
| Method Summary | |
|---|---|
| int | authCallback(virConnectCredential cred, int ncred, Pointer cbdata) |
| abstract int | callback(ConnectAuth.Credential[] cred)
The callback function that fills the credentials in
|
Parameters: cred the array of credentials passed by libvirt
Returns: 0 if the defresult field contains a vailde response, -1 otherwise