Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17549

Factor management of isDone() state into SaslAuthenticationSession base class

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Security
    • None
    • Fully Compatible

    Description

      Child classes of SaslAuthenticationSession are required to set _done to true when authentication is successful, or if if they encounter an error. We could move this state management to the base class, and remove the possibility we forget to set the field. We could also potentially centralize some reporting logic there as well.

      Attachments

        Activity

          People

            Unassigned Unassigned
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: