[SERVER-17549] Factor management of isDone() state into SaslAuthenticationSession base class Created: 11/Mar/15 Updated: 29/Oct/15 Resolved: 29/Oct/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Spencer Jackson | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Participants: |
| 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. |