@staticmethod
def _connect_auth_cb(creds, opaque):
    if (len(creds) == 0):
        return 0
    raise exception.NovaException((_('Can not handle authentication request for %d credentials') % len(creds)))
@staticmethod
def _connect_auth_cb(creds, opaque):
    if (len(creds) == 0):
        return 0
    raise exception.NovaException((_('Can not handle authentication request for %d credentials') % len(creds)))