Spec compliant response to authentication errors

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: Authentication
    • None
    • None
    • C Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      The Authentication and SDAM specifications require authentication failure errors to provoke a standardized response: the connection pool is cleared, server status changed to unknown, and corresponding events emitted. The C driver does not yet have these standard features. Additionally, authentication failures do not even reliably cause command failures. If authentication fails as part of a speculative auth reply, the failure will be fully ignored and transparently retried.

      Necessitates unified test skips:
       
         {"auth-error", "Reset server and pool after AuthenticationFailure error"},
         {"auth-network-error", "Reset server and pool after network error during authentication"},
         {"auth-misc-command-error", "Reset server and pool after misc command error"},
         {"auth-shutdown-error", "Reset server and pool after shutdown error during authentication"},

      In addition to the explicit skips, many tests attempt to cover this feature unsuccessfully by checking for poolClearedEvent, unsupported due to CMAP being out-of-scope. These tests are rendered ineffective until the necessary event handlers are implemented.

              Assignee:
              Unassigned
              Reporter:
              Micah Scott (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: