Package org.libvirt

Class ConnectAuth

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ConnectAuth.Credential  
      static class  ConnectAuth.CredentialType  
      • Nested classes/interfaces inherited from interface com.sun.jna.Callback

        com.sun.jna.Callback.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      ConnectAuth.CredentialType[] credType
      List of supported ConnectCredential.CredentialType values
      • Fields inherited from interface com.sun.jna.Callback

        FORBIDDEN_NAMES, METHOD_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      ConnectAuth()  
    • Constructor Detail

      • ConnectAuth

        public ConnectAuth()
    • Method Detail

      • callback

        public 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