Package org.libvirt

Class ConnectAuthDefault

  • All Implemented Interfaces:
    com.sun.jna.Callback, Libvirt.VirConnectAuthCallback

    public final class ConnectAuthDefault
    extends ConnectAuth
    Implements virConnectAuthPtrDefault functionality from libvirt.c without the external method support It's not officially a part of the libvirt API, but provided here for completeness, testing, and as an example
    • Constructor Detail

      • ConnectAuthDefault

        public ConnectAuthDefault()
    • Method Detail

      • callback

        public int callback​(ConnectAuth.Credential[] cred)
        Description copied from class: ConnectAuth
        The callback function that fills the credentials in
        Specified by:
        callback in class ConnectAuth
        cred - the array of credentials passed by libvirt
        0 if the defresult field contains a vailde response, -1 otherwise