Only wrap security-related errors in MongoSecurityException

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, MongoSecurityException is used to wrap all exceptions that are caused by the authentication activity. It is possible (yet, unclear) that this was not the original intent behind the introduction of MongoSecurityException. We need to decide whether we want to change what exceptions and when are thrown by the authentication activity, and potentially, refactor authenticators accordingly. See also this discussion.

      Based on a brief talk with boris.dogadov, my understanding is that in C# the situation regarding their counterpart of MongoSecurityException is similar to what we have.

              Assignee:
              Unassigned
              Reporter:
              Valentin Kavalenka
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: